推 qqstory:in good man XD 03/18 23:22
※ 引述《Snowhoney (開始放手)》之銘言:
: 我按連結時 出現這個
: 1045 - Access denied for user 'root'@'localhost'(using password: YES)
: 請問該怎麼解決?
: 註:請盡量講的簡而易懂...
: 小妹我是電腦白痴...
: 另外 網路上有人說 密碼欄用'空白' 或者 密碼打root 或 YES
: 我都試過了
: 請高手相助...
: 若PO在這邊不洽當
: 可以告訴我該PO在哪個版嗎?
in windows :
1. 打開命令提示模式 打 net^stop^mysql
2. 在命令提示模式下找到mysql目錄後打mysqld-nt^--skip-grant-tables
3. 在開一個command line 找到mysql目錄 打mysql後打
>use mysql
>update user set password=password("你的密碼") where user="root";
>flush privileges;
>exit
改一下連結內的密碼 重開機 大概就好了
in linux :
1. service mysql stop or user kill command
2. bin/safe_mysqld --skip-grant-tables &
3. 同windows3
in good man :
1. Send MSN 訊息 : 安安
2. 我是電腦白痴 救救我
3. 修好了 就跟你約會
4. 發卡
以上~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.160.174.35