ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/bitnami/mysql/tmp/mysql.sock'

 MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket - General - Bitnami Community

Could you check if the MySQL database is running?

$ sudo /opt/bitnami/ctlscript.sh status

$ sudo /opt/bitnami/ctlscript.sh start mysql


Không có nhận xét nào:

Check to be sure that port 22 is enabled before you reload

 https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why etting  ENABLED=yes  in  /etc/ufw/ufw.conf  did it for me. $ sudo ...