mysql probléma

Indította romen23, 2019-10-26, 12:26:26

1 kis segítséget ha kérheted dev es vdi házi szerver eztaz üzenetet kapom

mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38)
   failed, retrying in 5 seconds


service mysql-server stop

mysqld_safe

Navigálj ide: cd /var/db

Töröld az összes log fájlt (csak mappák maradjanak).

service mysql-server start

mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 seconds

most ezt adja sock (2) ötlet??

Futtasd le simán:
mysqld_safe

Várjunk. Mielőtt bármit csinálsz. Fut egyáltalán a mysql szervered? (service mysql-server status)

C++ programmer at Gameloft

  failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 seconds
root@host:/usr/game # service mysql-server status
mysql is not running.
root@host:/usr/game # mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 secondsSuccess ACCOUNT
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
   failed, retrying in 5 seconds
ez a legacy sf lenne valószínű hogy nem megy a dev féle vdi all???