星期一, 11月 22, 2004

debian 的 mysql 管理員帳號

不小心把 debian 另外設定的資料庫管理員刪除時,會導致啟動 mysqld 會發生問題。解決方法就是把該帳號重設回去,如下

mysql> grant all on *.* to 'debian-sys-maint'@localhost identified by "密碼";

密碼就是寫在 /etc/mysql/debian.cnf 裡的那一串

沒有留言: