
Originally Posted by
cPanelTodd
Check /etc/my.cnf and remove any lines referring to 'basedir='
Then attempt to restart mysql.
thx for the quick response, but i've already tried that with no luck. removing that line gets rid of the error i posted above but regardless, mysql does not start.
basically, i got this error:
Code:
root@host [/home/cpapachebuild/buildapache]# service mysql start
Starting MySQLCouldn't find MySQL manager or server [FAILED]
instead, now, i get this:
Code:
root@host [/home/cpapachebuild/buildapache]# service mysql start
Starting MySQL................................... [FAILED]
here is my my.cnf file:
Code:
root@host [/home/cpapachebuild/buildapache]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
#max_connections=4000
#table_cache=1000
#wait_timeout=25
#global_wait_timeout=25
#key_buffer_size=8388600
#max_user_connections=20000
#max_allowed_packet=1M
#max_connect_errors=999999
#skip-locking
#set-variable=long_query_time=10
#log-slow-queries=/var/log/mysql/log-slow-queries.log
#set-variable=wait_timeout=25
#set-global=wait_timeout=26
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
#basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
i don't know if this will help but i came across it...
Code:
root@host [/home/cpapachebuild/buildapache]# /usr/bin/mysqld_safe
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
070904 07:54:03 mysqld ended
root@host [/home/cpapachebuild/buildapache]
p.s. i can startup mysql fine with this command:
Code:
root@host [~]# /usr/sbin/mysqlmanager --user mysql 1
but it cannot be started with:
Code:
service mysql start