The socket file is generated when MySQL server is started, so you probably need to start the server to make it work.ĭepending on your operating system, there are different ways to start your MySQL server. lookupmysql. ERROR 2002 (HY000): Cant connect to local MySQL server through socket /tmp/mysql.sock (2) Resolvent. To conclude, the ERROR 2002 happens when your computer can’t connect to MySQL server because the socket file is missing. CentOS 7 source code compilation and installation of MySQL 5.7. Now you can try to connect again to your MySQL server from the Command Line. If you see the same status, you can run the service by clicking the Start the service link on the left pane. To install MySQL 8 on CentOS 7, you follow these steps: Step 1. If you have MySQL version 7, then you may have MySQL70 listed on the Services panel.Īs you can see from the picture above, the status of MySQL80 service is empty, meaning that it’s not currently running. Summary: in this tutorial, you will learn step by step how to install MySQL 8 on CentOS 7.
0 Comments
Leave a Reply. |