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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.