Horje
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2) Ask Code Example
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2) Ask
##	ERROR 2002 (HY000): 
##	Can't connect to local MySQL server through socket 

#### Follow below steps and you good to go... ####
sudo dpkg-reconfigure mysql-server-{version_number}
##version_number should be mysql version number installed
## Now try login in mysql shell
sudo mysql -u root -p




Sql

Related
mysql return if it contains Code Example mysql return if it contains Code Example
how to add default constraint in mysql Code Example how to add default constraint in mysql Code Example
foreign key sqlite3 python Code Example foreign key sqlite3 python Code Example
sql alchemy with azuresql server Code Example sql alchemy with azuresql server Code Example
mysql last 6 months Code Example mysql last 6 months Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7