MySQL error
Posted: Mon Dec 24, 2007 11:01 pm
I'm getting an error from MySQL when I try to import the db/zm_create.sql file in MySQL when installing ZoneMinder 1.23.0:
venere:/usr/local/src/ZoneMinder-1.23.0# mysql -uroot -p < db/zm_create.sql
Enter password:
ERROR 1064 (42000) at line 408: 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 'UNIQUE KEY `UC_Username` (`Username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 16
I looked in the file but I didn't managed in solving the problem.
Could you help me, please? Is this a bug?
Thank you! Bye and have a nice Christmas.
venere:/usr/local/src/ZoneMinder-1.23.0# mysql -uroot -p < db/zm_create.sql
Enter password:
ERROR 1064 (42000) at line 408: 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 'UNIQUE KEY `UC_Username` (`Username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 16
I looked in the file but I didn't managed in solving the problem.
Could you help me, please? Is this a bug?
Thank you! Bye and have a nice Christmas.