I've been reading up on this most of the day and still can't get it!
I need to use PHP to make connections to MySQL. When I use my actual
host name to make the connection I get this: 

Warning: Access denied for user: '[EMAIL PROTECTED]' (Using
password: YES) in /var/www/html/php/db_mysql.inc on line 73
Database error: pconnect(foo.bar.ucla.edu, mysql, $Password) failed.
MySQL Error: ()
Session halted.

and, yes, i've checked the password and that's not the problem. I can
log in thru the command line ok as root w/ password. 

If I change the connection details to try to connect thru 'localhost' i
get the "Can't connect to local MySQL server through socket ... etc"
error. 

The documentation suggests that I add an entry into the user table that
contains the IP address as the HOST column value. How do I do this
exactly? After reading so much today on this i'm confused as to
something that is probably so simple as adding a user.

any suggestions appreciated. 

brent.




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to