Page 1 of 1

Can't connect to local MySQL server through socket '/var/lib

Posted: Sun Jul 17, 2005 10:21 am
by KV
hello!

do you have an idea to fix this problem when running 'perl ./zmconfig.pl'

[root@localhost zm-1.21.2]# perl ./zmconfig.pl
Loading config from 'zmconfig.txt'
DBI connect('database=zm;host=localhost','toto',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at ./zmconfig.pl line 1662
Error: unable to load options from database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

thank you!
kv

Posted: Sun Jul 17, 2005 11:01 am
by cordel
That is normal error. It's because you have not set up your database yet. Just follow the README and you'll do okay. You have to setup the database a little later then run perl zmconfig.pl -noi to populate the database.
Regards,
Cordel