When I start MySql it just failed why?
mypc@computer:~$ sudo /etc/init.d/mysql restart
Stopping MySQL database server mysqld [ OK ]
Starting MySQL database server mysqld [fail]
When I start MySql it just failed why?
mypc@computer:~$ sudo /etc/init.d/mysql restart
Stopping MySQL database server mysqld [ OK ]
Starting MySQL database server mysqld [fail]
I got this answer from this SO question
If you're getting the #2002 Cannot log in to the MySQL server error while logging in to phpmyadmin, try editing phpmyadmin/config.inc.php and change:
$cfg['Servers'][$i]['host'] = 'localhost';
to:
$cfg['Servers'][$i]['host'] = '127.0.0.1';