Install LAMP today, start the service when installing MySQL always fails, prompt ERROR 2002: Can't connect to local MySQL server Through socket '/tmp/mysql.sock' (2)
Check it out, there is indeed /tmp/mysql.sock this file. If you create it?
Go to the network to find more information, restore mysql.sock, the result is still not, finally read the installation file and then know that the file in /etc/my.cnf is wrong, you need to re-create one, so I copied a copy again, the steps are as follows:
cd mysql-VERSION to the directory where the files are extracted
Copy
cp support-files/my-medium.cnf /etc/my.cnf
Reinitialize, create an authorization table
bin/mysql_install_db --user=mysql
Start the service
bin/mysqld_safe --user=mysql &
It’s OK to reconnect again. The solution to this problem on the network is N, it’s too embarrassing, I’ve seen it for a long time, it’s just Wasting time, now I am finally done!
Server Security Dog Remote Desktop Guard provides real-time, proactive remote des
Security dog service cloud is a server security management cloud platform, it has a lot of useful
VPS is basically the same as the general stand-alone Linux server. There is basically no difference
In this era of the Internet, IT has become an essential element for companies to gain market competi
Comprehensive interpretation: What is a Web service?
How video servers work and how they are applied
Serv-U login welcome parameter setting technique
Httpd-2.2.0 virtual host directory permissions issue
Avoid waste, teach you how to choose the right server
Linux server cluster system implementation solution detailed analysis
Server remote exceeds the maximum number of connections
Linux server configuration scheme MySQL (on)
Apache URL Redirection Avoids URL Ending Slash Issues
How to establish a cloud environment virtual server connection?
Learn to use Windows Server 2003 partition capacity enhancement function
Windows 8 latest version build 8005 compiled completed
How to set the width and height of the window scroll bar in the Win10 system?
Windows 8 system comes with Microsoft Pinyin simple input method can not be deleted solution
Win10 open software prompts missing d3dx9 26.dll file how to do?
How to install input method in Win10? Windows10 system installation Sogou input method tutorial
Win 8 does not support hosts file blocking website function
Vista/XP/2K use deadline reminder