After I have edit my.cnf in the etc/ directory I restart mysql. But Mysql won't restart.
I have changed my hostname before.
This is the log file:
This is the server output (what I have done):
Error when I am going to my site that uses MySQL:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Deleting my.cnf didn't help
Rebooting the system didn't help me out too with the problem to start MySQL.
Please help me out.
I have changed my hostname before.
This is the log file:
070928 00:03:25 mysqld started
070928 0:03:25 [Warning] Asked for 196608 thread stack, but got 126976
070928 0:03:25 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
070928 0:03:25 [ERROR] Do you already have another mysqld server running on port: 3306 ?
070928 0:03:25 [ERROR] Aborting
070928 0:03:25 [Note] /usr/sbin/mysqld: Shutdown complete
070928 00:03:25 mysqld ended
This is the server output (what I have done):
[root@server ~]# cd "/usr/local/lib"
[root@server lib]# /etc/rc.d/init.d/mysqld restart
MySQL PID file could not be found! [FAILED]
Starting MySQL................................... [FAILED]
[root@server lib]# /etc/rc.d/init.d/mysqld restart
MySQL PID file could not be found! [FAILED]
Starting MySQL.^[OA^[OD..........
[root@server lib]# /etc/rc.d/init.d/mysql start
-bash: /etc/rc.d/init.d/mysql: No such file or directory
[root@server lib]# /etc/rc.d/init.d/mysql start
-bash: /etc/rc.d/init.d/mysql: No such file or directory
[root@server lib]#
Broadcast message from root (Fri Sep 28 00:10:01 2007):
The system is going down for reboot NOW!
Error when I am going to my site that uses MySQL:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Deleting my.cnf didn't help
Rebooting the system didn't help me out too with the problem to start MySQL.
Please help me out.
Last edited: