Access denied for user 'zmuser'@'localhost'

Forum for questions and support relating to the 1.24.x releases only.
Locked
gian
Posts: 73
Joined: Sun Mar 22, 2009 7:51 pm

Access denied for user 'zmuser'@'localhost'

Post by gian »

hello All,

I installed v.1.24.2 from source, and when I open the browser page I get:

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'zmuser'@'localhost' (using password: YES) in /usr/share/zoneminder/zm_db.php on line 27
Could not connect to database: Access denied for user 'zmuser'@'localhost' (using password: YES)

However, if zmuser does have access to mysql as shown here:

gian@recorder:~/ZoneMinder-1.24.2$ mysql -u zmuser -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 85
Server version: 5.0.75-0ubuntu10.2 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> quit;
Bye
gian@recorder:~/ZoneMinder-1.24.2$

Can some kind soul shed some light here?

ciao,
-Gian
gian
Posts: 73
Joined: Sun Mar 22, 2009 7:51 pm

SOLVED

Post by gian »

for some reasons I had a different password in zm.conf
Locked