我用yum安装完mysql后,在/etc/rc.d/init.d里面没有mysqld,而且也无法启动

解决方案 »

  1.   

    find / -name mysql.server
    If you could find this file,copy it to /etc/rc.d/init.d and rename it as mysqld,then you could using " /etc/rc.d/init.d/mysqld start " to start your mysql instance.
      

  2.   

    这个可以没有
    这个只是个服务启动配置文件而已,真正的启动mysql的可执行文件在bin下你find / -name mysqld
      

  3.   

    恭喜你和我的以前一样:
    你确信你把server和client都装上了;
    然后才会有/etc/rc.d/init.d/mysqld其中有包依赖