[Serusers] error when starting php??

Adrian Georgescu ag at ag-projects.com
Wed Jul 28 12:32:10 CEST 2004


Michael

Try use mysql client in the command line like this

mysql -u ser -pXXX -h192.168.251.200 ser

If it does not work it means you do not have the rights, add rights in 
MySQL with:

login as root on mysql server

grant ALL ON ser.* TO ser@"192.%" IDENTIFIED by "XXX";
grant ALL ON ser.* TO ser@"localhost" IDENTIFIED by "XXX";

Adrian

 >>>>>>>>>>>
Dear all;

I am receiving this error every time I start PHP

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for
user: 'ser at intranet' (Using password: YES) in
/export/home/serweb/serweb_2004-01-04/phplib/db_mysql.inc on line 73
Database error: pconnect(192.168.251.200, ser, $Password) failed.
MySQL Error: ()
Session halted.

Have anyone experienced this this before.

Your help is greatly appreciated.

Regards




More information about the sr-users mailing list