作者barnet (快使用蕃茄酱)
看板Trace
标题Re: [问题] 关於Navicat for MySQL 的 1045号错误
时间Wed Mar 18 09:41:12 2009
※ 引述《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
1F:推 qqstory:in good man XD 03/18 23:22