I have been struggling with this for a little over a week now.
After I go thru the perl ./zmconfig.pl and answer all questions successfully, I go on to section 5 in the in the zoneminder readme.
I fail right at the first step "mysql mysql < db/zmschema.sql".
My error is "ERROR 1044 (42000) : Access denied for user ' '@'localhost' to database 'mysql'
I am new to databases so I am guessing that my problem is my command syntax and I do not know any better than to use the commands in the readme verbatim.
Any and all help would make my day (or week)
Problem with database on install
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
it would appear you have no user name in your sysntax, but i have never built it this way i always use, cordel's and ross's rpm's
Sorry
James
Sorry
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
The reason I thought the mysql database was not there was when typing the command "show databases;" the only database that would show up was test. I did this as admin
Anyhow I did enter the command you suggested as root with the password I set and my error has changed to "ERROR 1050 (42S01) at line 13: Table 'Config' already exists.
Anyhow I did enter the command you suggested as root with the password I set and my error has changed to "ERROR 1050 (42S01) at line 13: Table 'Config' already exists.
Then you may just need to load the database.
This is done with:
perl zmconfig.pl -noi
Regards,
This is done with:
perl zmconfig.pl -noi
Regards,
3939663646337
It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain