> i've a problem with php and mysql.
> a mysql-server is running on my server on that i can access from
> but, if i want to connect to the server with a 'local' php skript (running
> on the same server), mysql refuses the login ('acces denied for user
> [...]'). the problem is that the login i use in the php skript is exactly
> the same as the one i use for connecting from 'outside'.
> another strange thing is that the php skript can connect to other
> on other servers...
> is it a config-problem ? i've no idea anymore...
you@remotehost is not the same (MySQL user) as you@localhost!
Check out the MySQL manual's page on user privileges and access control.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php