I too am having the same problem on Fedora 8

In scanner.log , I've got this :

Code:
--------------------
    [08-02-22 22:38:09.8208] Slim::Schema::Storage::throw_exception (67) Error: 
DBI Connection failed: DBI connect('database=slimserver','slimserver',...) 
failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' 
(2) at /usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
--------------------


As we can see Squeezecenter can't connect to Mysql server through
socket /tmp/mysql.sock

I solve it by editing : /etc/squeezecenter/server.conf  

Ensure you have mysql_socket and it point to the correct path.


Code:
--------------------
    dbsource: 
dbi:mysql:database=slimserver:mysql_socket=/var/lib/mysql/mysql.sock
--------------------



You can find mysql.socke path as :

Code:
--------------------
    # find / -name mysql.sock
  /var/lib/mysql/mysql.sock
--------------------


-- 
filou59
------------------------------------------------------------------------
filou59's Profile: http://forums.slimdevices.com/member.php?userid=15640
View this thread: http://forums.slimdevices.com/showthread.php?t=42283

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to