MySQL Error 2013
问题 I am facing connection failure to MySQL problem when I run my program for more than couple of days.MySQL Error Code is 2013 while connecting to Database. MySQL server and client programs are both on same machine. I am using FC5 as my OS and MySQL version is 5.0.18. Can anybody throw some light on this? I am getting mysql error 2013 while calling mysql_real_connect() ... Any help is appreciated. 回答1: Try using localhost, instead of your own IP. I don't know why, but this immediately fixed the