手机看片精品高清国产日韩,色先锋资源综合网,国产哺乳奶水91在线播放,乱伦小说亚洲色图欧洲电影

幫助中心 >  技術(shù)知識(shí)庫 >  數(shù)據(jù)庫 >  相關(guān)技術(shù)支持 >  如何解決starting MySQL.. ERROR! The server quit without updating

如何解決starting MySQL.. ERROR! The server quit without updating

2016-03-15 16:54:28 1830

1.情況說明在編譯安裝mysql后啟動(dòng)mysql數(shù)據(jù)庫失敗:Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/localhost.l

     

2.解決辦法:先刪除data目錄,在次初始化數(shù)據(jù)庫

rm -rf /usr/local/mysql/data

scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data

service msyqld start 再次執(zhí)行啟動(dòng)時(shí)成功

    

3.執(zhí)行mysql_install_db命令的時(shí)候后面的參數(shù)一定要加上,--user代表運(yùn)行用戶,--basedir代表MySql安裝目錄,--datadir代表數(shù)據(jù)庫數(shù)據(jù)所在目錄

提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問題: