Motion - Support Question 2012x 06x 25x 192939

Motion and MySQL on raspberrypi

Question

I'm almost successfully running Motion on Debian Wheezy on my Raspberry Pi (arm). The only problem I'm having is getting MySQL to run. I've entered details for mysql_db, mysql_host, mysql_user and mysql_password. I have libmysqlclient18 and libmysqlclient-dev installed too.

When running Motion either as a daemon or in the console I get the following errors:

Jun 25 20:36:01 raspberrypi motion: [0] Unknown config option "mysql_db"
Jun 25 20:36:01 raspberrypi motion: [0] Unknown config option "mysql_host"
Jun 25 20:36:01 raspberrypi motion: [0] Unknown config option "mysql_user"
Jun 25 20:36:01 raspberrypi motion: [0] Unknown config option "mysql_password"

Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: ffmpeg, mysql
Server OS: Debian Wheezy
-- RobinCawser - 25 Jun 2012

Answer

Are you sure that motion was built with support to mysql ?

If motion complains about config option is because has not support for it ...

you can verify if motion has support for mysql :
ldd /path/to/motion | grep mysql

Cheers,

-- AngelCarpintero - 08 Jul 2012
Topic revision: r2 - 08 Jul 2012, AngelCarpintero
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.