Debian Sarge with Zoneminder 1.22.3

Support and queries relating to all previous versions of ZoneMinder
Locked
benlau
Posts: 7
Joined: Fri Mar 26, 2004 7:51 am

Debian Sarge with Zoneminder 1.22.3

Post by benlau »

Hi.

The Debian Sarge dist. provides MySql server with version 4.0.24. Although it is rather old, zoneminder with version up to 1.22.2 is working fine. However, from 1.22.3, the sql script for initial setup was changed a lot. SQL statement like 'DEFAULT CHARSET=latin1` could not be executed by this version of mysql.

Example error:

ERROR 1064 at line 29: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 17

It make the installation of Zoneminder in Debian Sarge fails. I think many servers run Debian/Sarge for daily operation. Would it be possible to consider to create sql statement that compatible with old version of Mysql in next version of Zoneminder?

Thanks.
Last edited by benlau on Tue Jan 02, 2007 6:57 am, edited 1 time in total.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

If you would like, I could sed out the "DEFAULT CHARSET=latin1" from the file and send it to you. Just let me know. You might also find that it may not like the database engine type to be 'ENGINE=" and would rather have "TYPE="
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I can probably go back to a more compatible syntax for the next version. I will see how easy it is.
Phil
Locked