问题描述:
windowsxp系统 mysql-5.5使用MySQL-Front连接
提示:1045 access denied for user 'root'@'localhost' using password yes网上解决方案:http://bjtdeyx.iteye.com/blog/1463522
通过使用上面的默认的方法和另外一个方法,依然还是有问题:
---在dos界面上出现
120702 16:17:35 [Warning] option 'new': boolean value 't' wasn't recognized. Set
 to OFF.
光标一直闪烁请问如何解决1045该问题?

解决方案 »

  1.   

    MYSQL命令行是否能进入,用其它图形化管理工具如SQLYOG连接试试
      

  2.   

    命令行能及进入吗?用户是root用户吗?
      

  3.   

    用户是root,登录提示access denied for user 'root'@'localhost' using password yes
    使用网上http://bjtdeyx.iteye.com/blog/1463522 提示的解决方案:
    在dos界面执行后就一直在这里
    G:\Program Files\MySQL\MySQL Server 5.5\bin>mysqld -nt --init-file=G:\mysql-init
    .txt
    120702 16:32:47 [Warning] option 'new': boolean value 't' wasn't recognized. Set
     to OFF.
      

  4.   

    grant all on *.* to root@localhost identified by 'yourpassword';
      

  5.   

    这个是在dos下使用mysql命令,使用root用户登录的错误提示:
    G:\Program Files\MySQL\MySQL Server 5.5\bin>mysql
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 6
    Server version: 5.5.25 MySQL Community Server (GPL)Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trade of Oracle Corporation and/or its
    affiliates. Other names may be trades of their respective
    owners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> use root
    ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'root'
    mysql>
      

  6.   

    to:rucypli
    目前是用户登录不进去,不能执行你给的语句
      

  7.   

    to:wwwwb
    mysql的服务启动正常
      

  8.   

    DOS下你使用如下语句测试G:\Program Files\MySQL\MySQL Server 5.5\bin>mysql -uroot -p
      

  9.   

    TO:ACMAIN_CHM 
    你说的命令也是不行
    我已经解决了,重新设置了密码
    谢谢大家的回复