MySQLユーザーのパスワード変更コマンド
mysql> set password for user@host=password('pass');
GaT Style Official Blog
MySQLユーザーのパスワード変更コマンド
mysql> set password for user@host=password('pass');
MySQLを4系から5系にアップグレードしたら
mysql> FLUSH PRIVILEGES;
時に「Table ‘mysql.procs_priv’ doesn’t exist」というエラーが出るようになった。
$ mysql_upgrade_shell --verbose --datadir=/var/lib/mysql --user=root --password=pass
で修復した。