返回说
  MYSQL-Error:
  Connection failed:
  2003-Can't connect to MYSQLserver  on 'localhost' (10061)

解决方案 »

  1.   

    我用的是localhost作服务器,root为用户名,密码为空
      

  2.   

    本地mysql服务启动了吗?在dos下可以连接吗?
      

  3.   

    启动了.我不会在dos下使用
      

  4.   

    启动\mysql\bin\mysqld-nt.exe如果还不行,用IP试试.
      

  5.   

    C:\mysql\bin>mysqld-nt remove
    Service successfully removed.C:\mysql\bin>mysqld-nt -install
    Service successfully installed.C:\mysql\bin>net start mysql
    MySQL服务已经启动成功。C:\mysql\bin>mysql
    Welcome to the MySQL monitor...