Initialization is not a problem after executing mysqld--initialize--user=mysql
When performing Mysqld_safe--user=mysql & startup, the shell prompts the following
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/8C/26/wKiom1hjZ-bQP8uCAABeh_GkddQ755.png "title=" 1111. PNG "width=" height= "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:700px;height:96px; "alt=" Wkiom1hjz-bqp8ucaabeh_gkddq755.png "/> Then
Ps-ef | grep MySQL
Discover that there is no mysqld process exists and that the MYSQLD process is not successful at all
Check the error log for cat Error.log
The following error message was found
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "spacer.gif"/> 650) this.width=650; "Src=" http ://s4.51cto.com/wyfs02/m02/8c/23/wkiol1hjacshiartaaglx6pjeua710.png-wh_500x0-wm_3-wmp_4-s_2447498739.png "title = "2222.png" width= "height=" 295 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:700px;height:295px; "alt=" Wkiol1hjacshiartaaglx6pjeua710.png-wh_50 "/>
The problem is that the system cannot find the UNIX socket file/tmp/mysql/sock
4. This error still occurs after multiple reinitialization. Suspect that the Mysql.sock file that was left behind when the space was full caused the failure to start conflicts with an existing file
Go to the TMP folder to view #ll
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8C/27/wKiom1hja6KQY4CKAACztSTx_e8479.png-wh_500x0-wm_3 -wmp_4-s_3478578111.png "title=" 2222.png "width=" "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width : 700px;height:180px; "alt=" Wkiom1hja6kqy4ckaacztstx_e8479.png-wh_50 "/>
A mysql.sock file was found that was incorrectly locked
#rm-RF Mysql.sock.lock
Re-initializes and starts the Mysqld_safe script to log on normally
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8C/27/wKiom1hjbEOT1xCJAACE2t8vF30876.png-wh_500x0-wm_3 -wmp_4-s_3285516440.png "title=" 3333328153931.png "width=" "height=" 259 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:700px;height:259px; "alt=" Wkiom1hjbeot1xcjaace2t8vf30876.png-wh_50 "/>
This article is from the "Network management Diary of FF" blog, make sure to keep this source http://l0vesql.blog.51cto.com/4159433/1886921
The MySQL installation process starts with a PID ended error that is prompted in mysqld_safe to cause problem handling to start