No my sql support?
Question
I tried everything, every config line that I add, works fine, but it always when Im going to add this lines in motion.conf :
# Database Options For
MySQL
# Mysql database to log to (default: not defined)
mysql_db motion
# The host on which the database is located (default: localhost)
mysql_host localhost
# User account name for
MySQL database (default: not defined)
mysql_user motionuser1
# User password for
MySQL database (default: not defined)
mysql_password mo1234
say this when I start motion :
[0] Unknown config option "mysql_db"
[0] Unknown config option "mysql_host"
[0] Unknown config option "mysql_user"
[0] Unknown config option "mysql_password"
I try in DAEMON ON and DAEMON OFF, and give me the sames results.
PLZ HELP ME DX!
Environment
Motion version: |
3.2.12 |
ffmpeg version: |
|
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
Ubuntu server 12.04 x86 |
--
SebastianPage - 09 Jun 2012
Answer
Probably you build motion without support for mysql , verify that motion binary has support for mysql :
ldd ./motion | grep mysql
libmysqlclient.so.16 => /usr/lib/libmysqlclient.so.16 (0x00007ffdcc13a000)
--
AngelCarpintero - 09 Jun 2012