在CMD里面运 结果报下在错, 请问各位该怎么解决
D:\Program Files\UFseeyon\OA\mysql\bin>mysqladmin -u root -p shutdown
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'

解决方案 »

  1.   

    You can check this by doing 'telnet localhost 3306'你可以用这个命令来测试是否有 3306 端口。即是说你可以测试一下 3306 端口是否在监听中,当然如果你的服务器配置了其它的端口你要做相应修改,从而你的 mysqladmin 也要指定端口。用任务管理器看看有没有 mysqld 或 mysqld-nt 这样的进程,如果没有就没有启服务器呗,你何来 shutdown。
      

  2.   

    MYsqL也启动不了在事件查看器里面这种错误
    Do you already have another mysqld server running on port: 3306 ?
      

  3.   

    检查一下有不有mysqld.exe 之类的进程
      

  4.   

    启动报错日志如下:
    InnoDB: The first specified data file .\ibdata1 did not exist:
    InnoDB: a new database to be created!
    111015 15:59:36  InnoDB: Setting file .\ibdata1 size to 10 MB
    InnoDB: Database physically writes the file full: wait...
    111015 15:59:37  InnoDB: Log file .\ib_logfile0 did not exist: new to be created
    InnoDB: Setting log file .\ib_logfile0 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    111015 15:59:37  InnoDB: Log file .\ib_logfile1 did not exist: new to be created
    InnoDB: Setting log file .\ib_logfile1 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    InnoDB: Doublewrite buffer not found: creating new
    InnoDB: Doublewrite buffer created
    InnoDB: Creating foreign key constraint system tables
    InnoDB: Foreign key constraint system tables created
    111015 15:59:37  InnoDB: Started; log sequence number 0 0
    111015 15:59:37 [Note] D:\Program Files\UFseeyon\OA\mysql\bin\mysqld-nt.exe: ready for connections.
    Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
    111015 15:59:53 [Note] D:\Program Files\UFseeyon\OA\mysql\bin\mysqld-nt.exe: Normal shutdown111015 15:59:53  InnoDB: Starting shutdown...
    111015 15:59:55  InnoDB: Shutdown completed; log sequence number 0 43655
    111015 15:59:55 [Note] D:\Program Files\UFseeyon\OA\mysql\bin\mysqld-nt.exe: Shutdown complete
      

  5.   

    进入mysql的bin文件夹,执行mysqld.exe