mysql root 密碼更改
如果忘記了 MySQL 的 root 密碼,可以用以下方法重新設定:
1. 關閉 MySQL 伺服器。
/etc/rc.d/init.d/mysqld stop
2. 用以下指令啟動 MySQL,以跳過檢查權限的資料表
mysqld_safe --skip-grant-tables &
(顯示訊息 nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql 直接按Enter)
3. 現在己經可以用空密碼進入 MySQL
mysql -u root
4. 進入 MySQL 後執行以下指令更改 mysql root 密碼:
mysql> update mysql.user set password=PASSWORD(」new_password」) where User=』root';
mysql> flush privileges;
mysql> quit
5. 最後只需重新啟動 MySQL,便可以用新設定的密碼進入了。
參考自:http://www.cosa.org.tw/forum/index.php?topic=73.0
迴響
mysql root 密碼更改 | 豬窩
Hi there, I found your website by the use of Google whilst looking for
a similar topic, your website got here up, it seems great.
I have bookmarked it in my google bookmarks.
Hi there, just became alert to your blog thru Google, and found that it's really informative.
I'm going to be careful for brussels. I will be
grateful in the event you continue this in future.
A lot of other people will likely be benefited out of your writing.
Cheers!
mysql root 密碼更改 | 豬窩
هنگامیکه میخواهید یک ویپ گزینش کنید آغازین کار اندر خرید و انتخاب الگو
نرخ وقت است، قیمت ویپ های درهم گوناگون است
و مهمترین تقسیم های پدیدآوری دهنده ویپ انند کاتالیزور و المنت و کوییل در همه این
الگو های قلیان شارژی کارآیی دارد.
ویپ بدون نیکوتین را میتوان بهخاطر کاربرانی به کشتوکار سود که با گذشت زمان ارج کاربری نیکوتین
خود را پایین آوردهاند. گرچه آیا ویپ بلا نیکوتین بهطرف شما ضرر دارد؟ اگر سوگند به دنبال این هستید که
ویپ بلا نیکوتین را کمترین محض یک وزن منظور که شده
امتحان کنید و اگر تاکنون سیگار نکشیدهاید، هرگز این
عمل را نکنید. تا آنجاکه ممتاز
از این که بخواهیم به طرف گدایی آسمان جواب بدهیم،
باید بگوییم که قدر بنگش به نیکوتین دره واحد ویپ و سیگار بیچون
و چرا یکسان است. باب کشور انگلستان زعم این که سرمایه ویپ ضرر کمتری دارد فهمیدن گسترش است اما این شمار اندر کشور آمریکا همگی واژگونه
شده است. آمارهای انتشار شده اندر کشور انگلستان پستان این مساله ابرام داشته که مجموعه ویپ چین بیش از 95 درصد بسته به سیگار سالمتر است.
حساب فاش شده پشه جهاز 2014 اندر کشور انگلستان تیر جیغ که طاق 1 درصد از کاربران سیگارهای الکترونیکی را
مختلف سیگاریها ساختن میدهند.
mysql root 密碼更改 | 豬窩
I am curious to find out what blog system you have been utilizing?
I'm having some minor security issues with my latest blog and
I would like to find something more safe. Do
you have any recommendations?
mysql root 密碼更改 | 豬窩
Very soon this web page will be famous amid all blogging and site-building visitors, due to it's nice articles
or reviews
mysql root 密碼更改 | 豬窩
I wanted to thank you for this fantastic read!!
I certainly enjoyed every little bit of it. I've got you saved as
a favorite to look at new things you post…