username/password for mysql

Support and queries relating to all previous versions of ZoneMinder
Locked
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

username/password for mysql

Post by bhomass »

the installation instruction says to do
grant select,insert,update,delete on <your database name>.* to '<username>'@localhost identified by '<password>';

which username/password is this? is the username here sames as the webuser specified in the configure option when building zm code?

basically, the question is who is the user accessing mysql (for configuration data, etc) when the browser requests images?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This is a mysql user that you create just for ZM to access it's database. The username nad password are just used internally by the binaries and web pages and do not correspond to a real user on your system or any ZM users that you define on the web pages if you are using authentication. The credentials you use here have to be passed into zmconfig.pl but after that you don't need to worry about them again usually.

Phil
Locked