shell># mysqld restart -u root101216 18:36:26 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use InnoDB's own implementation
InnoDB: Compressed tables use zlib 1.2.3
101216 18:36:26  InnoDB: Using Linux native AIO
101216 18:36:26  InnoDB: Initializing buffer pool, size = 128.0M
101216 18:36:26  InnoDB: Completed initialization of buffer pool
101216 18:36:26  InnoDB: highest supported file format is Barracuda.
101216 18:36:26  InnoDB: 1.1.4 started; log sequence number 1595675
mysqld: Too many arguments (first extra is 'restart').
Use --verbose --help to get a list of available options
101216 18:36:26 [ERROR] Aborting101216 18:36:26  InnoDB: Starting shutdown...
101216 18:36:27  InnoDB: Shutdown completed; log sequence number 1595675
101216 18:36:27 [Note] mysqld: Shutdown complete这是什么错误呀,从来没用过linux,整了一天了,高手来帮帮忙,先谢过了

解决方案 »

  1.   

    which mysql
    查下MYSQL程序是在哪个目录下,再
    echo $PATH
    看看是否已经包含在环境变量里。如果没有,直接去目录下执行
    ./mysql -uroot -p123
      

  2.   


    检查一下你的mysqld 是什么?如果是个脚本则看其中内容。 如果是命令,则你的启动方式有问题。service start mysql
      

  3.   

    今天第一天用linux 如何检查mysqld。
    shell>service start mysqlstart: unrecognized service
    shell>service mysql start
    Starting MySQL.The server quit without updating PID file (/var/lib/mysql/hadoop03.qqtech.pid).[FAILED]
      

  4.   

    这个已经正确了。检查一下MYSQL的错误日志中的信息。
      

  5.   

    MYSQL错误日志
    Configuration error: Error : Could not alloc node id at 192.168.12.252 port 1186: Connection done from wrong host ip 192.168.11.232.030116  2:53:39 [ERROR] Plugin 'ndbcluster' init function returned error.
    030116  2:53:39 [ERROR] Plugin 'ndbcluster' registration as a STORAGE ENGINE failed.