Re: php/mysql problem

From: Date: Sat, 14 Dec 2002 10:28:31 +0000
Subject: Re: php/mysql problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-24141@lists.php.net to get a copy of this message
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

« previous php.db (#24141) next »