Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5323

How can I get LMS to auto-start mysqld and create database?

$
0
0
Hi,

I am trying to integrate logitechmediaserver-7.7.2-33893-arm-linux into a custom embedded Linux root file system. I understand that it may be possible for the slimserver daemon to automatically start its own instance of mysqld and also create the initial database. I'm not having much luck.

I have created symlinks in my Bin directory to point to /usr/sbin/mysqld, which is already installed in my rootfs.

I have also observed it's behavior with strace. It looks for the presence of mysqld, finds it, but instead of starting an instance, it tries to immediately connect, which fails of course because it is not running.

DBI_DRIVER=mysql strace perl /usr/local/squeezebox/slimserver.pl --diag --cachedir /mnt/array1/spool/slim-data --httpport 9001 --dbtype MySQL --d_files --d_paths --d_startup --d_mysql --d_sql --d_import --d_info --d_server --d_scanner > /tmp/f 2>&

Please also see attached strace capture.

Am I barking up the wrong tree?

Thanks
Attached Files

Viewing all articles
Browse latest Browse all 5323

Trending Articles