Motion - Support Question 2012x 06x 09x 073357

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
Topic revision: r2 - 09 Jun 2012, AngelCarpintero
Copyright © 1999-2024 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.