Michael Herger wrote:
>> 'dbi:mysql:database=slimserver_trunk:mysql_socket=/var/lib/mysql/mysql.sock',
>> 2007-12-27_13:16:07.32771           'slimserver',
>> 2007-12-27_13:16:07.32772           'YYYpro65XXXXX',
> 
> If that was your password, then you should probably change it :-).

Ooops. :)

>> So, why isn't scanner.pl getting the correct socket, and where is that
>> supposed to be set?
> 
> it's in /var/lib/squeezecenter/cache/my.conf on my system.

Hmmm. I'm setting custom dirs for most of my stuff. slimserver.pl is run
with these arguments:

--cachedir=/var/opt/squeezecenter/cache/trunk
--prefsdir=/var/opt/squeezecenter/lib/trunk --httpaddr=192.168.1.91
--cliaddr=192.168.1.91 --playeraddr=192.168.1.91
--streamaddr=192.168.1.91 --logdir=/var/log/squeezecenter/trunk

I run squeezecenter first time, stop it, change the db preferances in
server.prefs then start it again.

As the DB is empty, a scan is initiated on start up and runs with the
following args:

'--logdir=/var/log/squeezecenter/trunk',
'--prefsdir=/var/opt/squeezecenter/lib/trunk',
'--priority=0',
'--wipe',
'--logconfig=/var/opt/squeezecenter/lib/trunk/log.conf'


scanner.pl then crashes with:

[07-12-27 16:43:07.8115] Slim::Schema::Storage::throw_exception (67)
Error: DBI Connection failed: DBI
connect('database=squeezecenter_trunk','squeezecenter',...) failed:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
at /opt/squeezecenter/trunk/server/CPAN/DBIx/Class/Storage/DBI.pm line 652


Any ideas?

R.

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to