Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 0

Tags:

People also ask

How do I fix MySQL not connected?

ipconfig and then just check the IP address and put it in place of localhost in the previous command. If this still doesn't works then put 127.0. 0.1:3306 . After this, it will prompt to add or save the password , enter a unique password there.

What is the default port of MySQL server?

Client - Server Connection PortsPort 3306 is the default port for the classic MySQL protocol ( port ), which is used by the mysql client, MySQL Connectors, and utilities such as mysqldump and mysqlpump.

Could not connect server may not be running MySQL workbench?

normally means that there is no MySQL server running on the system or that you are using an incorrect Unix socket file name or TCP/IP port number when trying to connect to the server. You should also check that the TCP/IP port you are using has not been blocked by a firewall or port blocking service.


I am running a Rails app so now I am trying to remote connect to MySQL and I am getting this error:

Could not connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 0