Dupa ce introduc comanda
Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server stopCod: Selectaţi tot
root@:~ # /usr/local/etc/rc.d/mysql-server stop
mysql not running? (check /var/db/mysql/.localehost.pid).
apoi introduc comanda
Cod: Selectaţi tot
mysqld_safe --skip-grant-tables &Cod: Selectaţi tot
root@:~ # mysqld_safe --skip-grant-tables &
[1] 777
root@:~ # 160331 14:27:18 mysqld_safe Logging to '/var/db/mysql/.localehost.err'.
160331 14:27:18 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
160331 14:27:18 mysqld_safe mysqld from pid file /var/db/mysql/.localehost.pid ended
[1] Done Cod: Selectaţi tot
mysql -u rootCod: Selectaţi tot
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
root@:~ #





