mysql 修复

/home/wkubuntu/mysql/data/iZ25sgya7raZbak.pid  pid 文件notfond 错误解决

 一、截图

snipingtool

 

skip-locking 修改成 skip-external-locking

添加两个 skip-name-resolve 和skip-grant-tables

二、

 use mysql

 

grant select,insert,update on house.* to cmsroot@localhost identified by 'nsbtsc';   

 

flush privileges;

 三、

vi /usr/local/apache2/htdocs/base.inc.php

 修改对应的用户名和密码

四、

/etc/init.d/mysqld restart  

 

posted @ 2015-04-25 16:50  kin2321  阅读(141)  评论(0编辑  收藏  举报