Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
One day accidentally to the root of the permissions to the smallest (can only log in, do nothing), this can be a nasty death to me. It's too troublesome to reload, and there are a lot of users, one after another do not know when.
Later I think of a way, first the current server MySQL service to stop, the MySQL directory under the MySQL directories renamed to Mysql_old, to another server under the MySQL directory of the/data/mysql directory copy to the corresponding directory, Then start the MySQL service, using the other server under the root of the account to log into the phpMyAdmin, you can see the full operating rights, but this 6184.html "> datasheet does not have the current server in the database project and user information. Then find the Mysql_old database, go into the user table, find the first root localhost table section, modify: Change all n to Y. And then stop the MySQL service, the new copy over the MySQL delete, the mysql_old renamed to MySQL, and then start the server with root login, found that all the permissions have returned.
Source: www.hezuzhan.cn