MySQL Forums
Forum List  »  Install & Repo

Re: creating a user, connection fails (PHP connection to mysql)
Posted by: Andrew Wallace
Date: October 05, 2004 12:57PM

Ok, so I got a littlle more information. I can "use" my user in the connect statement, as long
as there is no password involved. My PHP connect statement is:

$result = mysql_connect('localhost', 'webuser', '');

This works, as long as there is no password in the user table for webuser. I am using
phpmyadmin on the mysql server (I have no physical access to the machine -it is
a windows 2K box). If I add a password, my connect fails. I have tried using PASSWORD
and MD5 for encrypting the password on the way in, neither works.

Any suggestions?

Thanks,
Andy

Options: ReplyQuote


Subject
Written By
Posted
Re: creating a user, connection fails (PHP connection to mysql)
October 05, 2004 12:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.