Jump to content

mysql_connect() not working for me


jewysi

Recommended Posts

I'm trying to access mysql using mysql_connect and I'm sure I have the attributes all correct (host, user, pass) but my screen just keeps coming up blank.  I have been able to create databases through phpmyadmin and view them in the mysql command line.  Can anyone give me any tips here, everywhere I go the only thing they talk about the the mysql_connect function, anything else I should be looking into.  Thanks in advance for any help.

 

 

Link to comment
https://forums.phpfreaks.com/topic/160812-mysql_connect-not-working-for-me/
Share on other sites

Blank pages are usually the result of fatal parse or fatal run time errors or code that does not output anything.

 

You would need to post your code for anyone to have a chance at helping you with what it might be doing wrong. xxxxx out any sensitive information but don't change the syntax of what you have in your files.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.