Re: php/mysql problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stefan,

> i've a problem with php and mysql.
> a mysql-server is running on my server on that i can access from
'outside'.
> 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
mysql-dbs
> 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.

Regards,
=dn


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux