I had a latin1 collated MySQL 4.1 db that contained both English and Japanese text. I dumped the data and then tried to migrate it into my new MySQL 5.0.26 installation. Of course being a bit lazy I did not take the time to check things out properly and was not surprised to find that all Japanese te ...

在MySQL中修改一个用户(比如叫"hunte")的密码,可以用如下3个办法:

>>>
#在控制台上输入
bash$ mysql -u root mysql
#用mysql客户程序
mysql> UPDATE user SET password=PASSWORD("new password") WHERE user=\'hunte\';
mysql> FLUSH PRIVILEGES;
mysql> QUIT
>
#在控制台上输入
bash$ mysql -u root mysql
mysql>   ...

  • Items 1 - 2
  • 1