Guldasta (A bouquet of flowers)

… because life is about varied experiences

  • Subscribe

  • Blog Stats

    • 37,599 hits
  • Disclaimer

    All which I express here are my independent views/opinions and are not necessarily influenced by any organization I work/correspond with.

Archive for November, 2008

#2013 – Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111

Posted by imdad on November 2, 2008

For this error on mysql phpmyadmin

i did this:

  • edited </etc/mysql/my.conf>
  • commented the line corresponding to ‘bind-address’ (that is, hash it)
  • edited ‘config.inc.php’ in phpmyadmin folder
  • added/edited a line $cfg[‘Servers’][$i][‘host’] = ‘localhost’;
  • restart mysql – ‘sudo /etc/init.d/mysql restart’

Posted in IT | Tagged: | 15 Comments »