After upgrade from 1.21.3 to 1.22.2 console not work

Support and queries relating to all previous versions of ZoneMinder
Locked
Ninno
Posts: 8
Joined: Mon Mar 19, 2007 8:43 am

After upgrade from 1.21.3 to 1.22.2 console not work

Post by Ninno »

I recive this error :
Could not connect to database: Access denied for user: 'root@localhost' (Using password: YES)

please help me
Ninno
Posts: 8
Joined: Mon Mar 19, 2007 8:43 am

Post by Ninno »

I tried to access a mysql from login root, but recive
access denied.

mysql zm

Could not connect to database: Access denied for user: 'root@localhost' (Using password: YES)

How grant acces to zm database from new user ?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This is described in the README. Search for 'grant'.
Phil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The error means that you have password protected your database and the password must be supplied separately using -p (mysql zm -p) as it does not match your system root password.
Locked