[root@s1 mysql]# service mysql stop
MySQL manager or server PID file could not be found!       [FAILED]
[root@s1 mysql]# service mysql start
Starting MySQL..Manager of pid-file quit without updating f[FAILED]
[root@s1 mysql]# /etc/rc.d/init.d/mysqld start
-bash: /etc/rc.d/init.d/mysqld: No such file or directory那位高手能指点?万分感谢!!!

解决方案 »

  1.   

    我看了,我的/etc/passwd里面没有mysql的id,我明明是加了的
      

  2.   

    检查一下你的my.cnf文件的配置。
      

  3.   

    /etc/passwd里面没有mysql的id找到了,可是还是MySQL manager or server PID file could not be found!       [FAILED]
      

  4.   

    不需要找 mysql的ID,应该是你的配置文件不对。
      

  5.   

    我已安装了N次,每次都可以安装成功的。
    安装文件:mysql-5.0.19-win32.zip(解压后为Setup.exe)
    mysql-gui-tools-5.0-r8-win32.msi
    mysql-connector-java-5.0.6-bin.jar
      

  6.   

    # binary logging - not required for slaves, but recommended
    #log-bin=mysql-bin# Point the following paths to different dedicated disks
    #tmpdir         = /tmp/
    #log-update     = /path-to-dedicated-directory/hostname# Uncomment the following if you are using InnoDB tables
    innodb_data_home_dir = /usr/local/mysql/data/
    #innodb_data_file_path = ibdata1:10M:autoextend
    innodb_log_group_home_dir = /usr/local/mysql/data/
    # You can set .._buffer_pool_size up to 50 - 80 %
    # of RAM but beware of setting memory usage too high
    #innodb_buffer_pool_size = 256M
    #innodb_additional_mem_pool_size = 20M
    # Set .._log_file_size to 25 % of buffer pool size
    #innodb_log_file_size = 64M
    #innodb_log_buffer_size = 8M
    #innodb_flush_log_at_trx_commit = 1
    #innodb_lock_wait_timeout = 50[mysqldump]
    "/etc/my.cnf" 161L, 4928C                                     128,1         84%
    #
    # The password the slave will authenticate with when connecting to
    # the master - required
    #master-password =   <password>
    #
    # The port the master is listening on.
    # optional - defaults to 3306
    #master-port     =  <port>
    #
    # binary logging - not required for slaves, but recommended
    #log-bin=mysql-bin# Point the following paths to different dedicated disks
    #tmpdir         = /tmp/
    #log-update     = /path-to-dedicated-directory/hostname# Uncomment the following if you are using InnoDB tables
    innodb_data_home_dir = /usr/local/mysql/data/
    #innodb_data_file_path = ibdata1:10M:autoextend
    innodb_log_group_home_dir = /usr/local/mysql/data/
    # You can set .._buffer_pool_size up to 50 - 80 %
    # of RAM but beware of setting memory usage too high
    #innodb_buffer_pool_size = 256M
    #innodb_additional_mem_pool_size = 20M
    # Set .._log_file_size to 25 % of buffer pool size
    #innodb_log_file_size = 64M
    #innodb_log_buffer_size = 8M
    #innodb_flush_log_at_trx_commit = 1
    #innodb_lock_wait_timeout = 50[mysqldump]
    quick
    max_allowed_packet = 16M[mysql]
    no-auto-rehash
    # Remove the next comment character if you are not familiar with SQL
    #safe-updates
      

  7.   

    /usr/local/mysql/bin/mysqld_safe &
    [1] 3571
    [root@s1 mysql]# 090512 15:08:50 mysqld_safe Logging to '/usr/local/mysql/data/s1.oon.com.cn.err'.
    090512 15:08:50 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
    090512 15:08:51 mysqld_safe mysqld from pid file /usr/local/mysql/data/s1.oon.com.cn.pid ended
    到这里就不动了,有关吧