如题,其中kill: (4267) 没次都不同。重启机器也不能解决问题。
网上相关的资料都看了,不明白。
我是刚刚接触mysql,请各位达人帮忙,

解决方案 »

  1.   

    可能是你的mysql配置文件中有错误,如参数名不对或参数值设置不正确
    可以用默认的my.cnf替换现在的my.cnf测试下(替换前做好备份)
      

  2.   

    This is because your pid file didn't exist then.If you want to start mysqld again,just use linux command killall mysqld 
    at first.
    Or you can use command 'pa aux | grep mysql' then kill its pid.
      

  3.   

    自己搞定了,原来是权限问题
    编辑/etc/init.d/mysql.server
    更改 $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args >dev/null 2>&1 &为   $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args --default-character-set=gbk>dev/null 2>&1 &分如何给呢?