Re: ports中的MySQL 4發生啥事了?

看板FreeBSD作者時間21年前 (2004/07/29 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串11/17 (看更多)
照這樣來試看看 先停掉 mysql % /usr/local/etc/rc.d/mysql-server.sh stop % safe_mysqld --user=mysql --pid-file=mysqld.pid --skip-grant-tables & % mysql -u root mysql > update user set password=password('newpassword') where User='root' and host='localhost'; > flush privileges; 然後 % kill `cat mysqld.pid` 重跑 mysql % /usr/local/etc/rc.d/mysql-server.sh start -- peace of love~ Alan, Cheng-Lung Sung <clsung AT dragon2 DOT net> -- ◆ 從 localhost 來的水榭訪客 -- 自由心靈的天堂§水榭(SungSung.Dragon2.Net
文章代碼(AID): #112D8c00 (FreeBSD)
文章代碼(AID): #112D8c00 (FreeBSD)