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