Hi everybody,
I did install Ubuntu 20.04 lts server and followed the installation guide , the Easy Way: Ubuntu 18.04 (Bionic).
in step 5, Configure the Zoneminder Database, i got an error: ERROR 1050 (42801) at line 1091: Table ´Sessions´already exists , after the following commando:
sudo mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
I don´t want to screw it all up so perhaps anybody knows what´s going wrong here ?
Thanks !
error in step 5 ubuntu installation zoneminder
Re: error in step 5 ubuntu installation zoneminder
ah ! allright....i see..... Thank you !
Then i will continue the process tomorrow.
mysql -uroot -p -e "grant lock tables,alter,drop,select,insert,update,delete,create,index,alter routine,create routine, trigger,execute on zm.* to 'zmuser'@localhost identified by 'zmpass';"
Is this second step also necessary ?
Then i will continue the process tomorrow.
mysql -uroot -p -e "grant lock tables,alter,drop,select,insert,update,delete,create,index,alter routine,create routine, trigger,execute on zm.* to 'zmuser'@localhost identified by 'zmpass';"
Is this second step also necessary ?
Re: error in step 5 ubuntu installation zoneminder
You could just drop that database and start over. This assumes, however, that the existing zm database isn't something that contains anything that you wish to retain (if you're doing a new install then that would likely be NO).
Re: error in step 5 ubuntu installation zoneminder
You probably won’t need that step either. Should all be done.
-
Re: error in step 5 ubuntu installation zoneminder
I prefer this guide when installing zoneminder on ubuntu 20.04 straight forward and works out of the box everytime.
https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.36.x
https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.36.x
Re: error in step 5 ubuntu installation zoneminder
thanks everyone for replying.
No luck until now. Had some troubles with a lacking systemctl. etc. So now did start over again with ubuntu server 22.04.
That script looks good but is talking about Mariadb also.
Suppose i need to choose just one of them, wich one would be a better match . Mariadb or Mysql ?
Have a nice day.
No luck until now. Had some troubles with a lacking systemctl. etc. So now did start over again with ubuntu server 22.04.
That script looks good but is talking about Mariadb also.
Suppose i need to choose just one of them, wich one would be a better match . Mariadb or Mysql ?
Have a nice day.
Re: error in step 5 ubuntu installation zoneminder
I roll with MariaDBChris28 wrote: ↑Tue Jun 28, 2022 8:09 pm thanks everyone for replying.
No luck until now. Had some troubles with a lacking systemctl. etc. So now did start over again with ubuntu server 22.04.
That script looks good but is talking about Mariadb also.
Suppose i need to choose just one of them, wich one would be a better match . Mariadb or Mysql ?
Have a nice day.
Re: error in step 5 ubuntu installation zoneminder
I did manage to install Zoneminder, this time on Xubuntu 22.04 and with the script from kaltertod.
Thanks again for this script and everybody for your comments.
Have a nice day.
Thanks again for this script and everybody for your comments.
Have a nice day.