[mythtv-users] MySql Problems

Nick knowledgejunkie at gmail.com
Sat Sep 23 06:39:59 UTC 2006


On 22/09/06, scott at tbwifi.ca <scott at tbwifi.ca> wrote:
> I am using Mandrake 10.6 and trying to install 0.20.  I am trying to
> configure mysql using:
> $ mysql -u root -p < mc.sql
> with the appropriate password
> originally I had problems connecting and had to reset the mysql root
> password.   Now when I try the above after about 30s or so I get
> ERROR 2013 (HY000): Lost connection to MySQL server during query
> and when I try to connect to mysql now:
> $ mysql -u root -p****
> I get:
> ERROR 2002 (HY000): Can't connect to local  MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)

i) Is mysld running?
ii) Does /var/lib/mysql/mysql.sock exist?
iii) Do you have a good /etc/my.cnf (this will set the path for the
socket above)?

Nick

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users


More information about the mythtv-users mailing list