Hi,
I'm running:
Apache 1.3.34
DirectAdmin 1.26.1
Exim 4.50
MySQL 4.1.11
Named 9.2.4
ProFTPd 1.2.10
sshd
vm-Pop3d
On debian (all fresh install)
I want to create a mysql database and got this error:
Error connecting to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I search this forum about it, nothing helpt me with my problem...
mysql is running:
[root@alsjeblief]# ps -e | grep mysqld
13427 pts/1 00:00:00 mysqld_safe
13528 pts/1 00:00:00 mysqld
13529 pts/1 00:00:00 mysqld
13530 pts/1 00:00:00 mysqld
13531 pts/1 00:00:00 mysqld
13532 pts/1 00:00:00 mysqld
13533 pts/1 00:00:00 mysqld
13535 pts/1 00:00:00 mysqld
13536 pts/1 00:00:00 mysqld
13537 pts/1 00:00:00 mysqld
13543 pts/1 00:00:00 mysqld
I cant stop - restart - start mysql trough DA
I did a killall mysql
Try to start it trough DA, diddn't work, it just say 'error'
I can start it in shh:
service mysql start
(note, in the other topics i saw "service mysqld start" if i do that it says mysqld: unrecognized service)
try to create database,.. error... so i start mysql true ssh like:
/etc/rc.d/init.d/mysql start but same problem.
Did updatedb and locate mysql.sock this is located in:
/var/lib/mysql/mysql.sock (error above says cant find /tmp/mysql.sock, maybe thats something?)
There are no mysql errors in /var/log/messages
I also saw in other topics people talk about my.cnf with similar problems, so i did:
[root@alsjeblief /]# updatedb
[root@alsjeblief /]# locate my.cnf
[root@alsjeblief /]#
Nothing there...
So, i can not create database in DA, cant start or stop mysql in DA
Can anyone please help me
I'm running:
Apache 1.3.34
DirectAdmin 1.26.1
Exim 4.50
MySQL 4.1.11
Named 9.2.4
ProFTPd 1.2.10
sshd
vm-Pop3d
On debian (all fresh install)
I want to create a mysql database and got this error:
Error connecting to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I search this forum about it, nothing helpt me with my problem...
mysql is running:
[root@alsjeblief]# ps -e | grep mysqld
13427 pts/1 00:00:00 mysqld_safe
13528 pts/1 00:00:00 mysqld
13529 pts/1 00:00:00 mysqld
13530 pts/1 00:00:00 mysqld
13531 pts/1 00:00:00 mysqld
13532 pts/1 00:00:00 mysqld
13533 pts/1 00:00:00 mysqld
13535 pts/1 00:00:00 mysqld
13536 pts/1 00:00:00 mysqld
13537 pts/1 00:00:00 mysqld
13543 pts/1 00:00:00 mysqld
I cant stop - restart - start mysql trough DA
I did a killall mysql
Try to start it trough DA, diddn't work, it just say 'error'
I can start it in shh:
service mysql start
(note, in the other topics i saw "service mysqld start" if i do that it says mysqld: unrecognized service)
try to create database,.. error... so i start mysql true ssh like:
/etc/rc.d/init.d/mysql start but same problem.
Did updatedb and locate mysql.sock this is located in:
/var/lib/mysql/mysql.sock (error above says cant find /tmp/mysql.sock, maybe thats something?)
There are no mysql errors in /var/log/messages
I also saw in other topics people talk about my.cnf with similar problems, so i did:
[root@alsjeblief /]# updatedb
[root@alsjeblief /]# locate my.cnf
[root@alsjeblief /]#
Nothing there...
So, i can not create database in DA, cant start or stop mysql in DA
Can anyone please help me
Last edited: