Can't start phpMyAdmin. Keep getting the #2002 socket error

前端 未结 9 1921
难免孤独
难免孤独 2020-12-31 05:44

I\'ve been trying to set mysql and phpMyAdmin for the last 12 hours, without any success. And yes, after hours and hours of Google-ing I know that is a common problem and I\

9条回答
  •  情书的邮戳
    2020-12-31 06:05

    Check the config file:

    /* $cfg['Servers'][$i]['host'] = 'localhost'; */
    $cfg['Servers'][$i]['host'] = '127.0.0.1';
    $cfg['Servers'][$i]['compress'] = false;
    

    Restart MySQL: OSx : sudo /usr/local/mysql/support-files/mysql.server restart

    Linux: sudo service mysql start (Old linux: sudo /etc/init.d/mysql start)

提交回复
热议问题