1.26.3 installation mysql query - Solved

Forum for questions and support relating to the 1.26.x releases only.
Locked
codabiz
Posts: 59
Joined: Sun Jan 04, 2009 10:16 am
Location: London, UK

1.26.3 installation mysql query - Solved

Post by codabiz »

After a few hiccups, I successfully made a clean fresh install of Zoneminder 1.26.3 on Ubuntu Server 12.04LTS (32 bit).

The biggest hiccup I had was trying to load initial SQL table into mysql 'zm' database.
Tried:
mysql -u root -p zm < db/zm_create.sql
It didn't work!

Succeeded with:
mysql -u root -p zm < /tmp/ZoneMinder-1.26.3/db/zm_create.sql

I am a bit of a newbie, did I miss a step or miss a trick?

Solved. I had downloaded zoneminder to /temp directory
Last edited by codabiz on Sun Sep 22, 2013 3:13 pm, edited 1 time in total.
User avatar
2Psycho
Posts: 37
Joined: Tue Jan 24, 2012 9:45 pm

Re: 1.26.3 installation mysql query

Post by 2Psycho »

Probably the script you want to load to update the database is part of the Zoneminder build

Code: Select all

zmupdate.pl --user=root --pass=MYSQLROOTPASSWORD
You can find it in the folder
/usr/local/bin

Otherwise type locate zmupdate.pl :D
Enjoyment Matters
Locked