Code: Select all
PID TTY TIME CMD
1 ? 00:00:01 init
2 ? 00:00:00 kthreadd
3 ? 00:00:00 migration/0
4 ? 00:00:00 ksoftirqd/0
5 ? 00:00:00 watchdog/0
Waiting for Reply!
Thank You
Dltr
Code: Select all
PID TTY TIME CMD
1 ? 00:00:01 init
2 ? 00:00:00 kthreadd
3 ? 00:00:00 migration/0
4 ? 00:00:00 ksoftirqd/0
5 ? 00:00:00 watchdog/0
Code: Select all
fuser -n tcp 3306
Code: Select all
ps -A | grep <PID>
Code: Select all
root@Dltr:~# fuser -n tcp 3306
root@Dltr:~#
Code: Select all
ps -A
Code: Select all
ps -A
Code: Select all
mysql
Code: Select all
root@Dltr:~# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Code: Select all
root@Dltr:~# /etc/init.d/mysql reload
* Reloading MySQL database server mysqld /usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
root@Dltr:~# /etc/init.d/mysql force-reload
* Reloading MySQL database server mysqld /usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
The Answer of Your Question is No I wasn't and just for Curiosity i looked for the file /etc/selinux/config and it doesn't exist !hm, when you tried starting mysql, were you logged in as root user?
if yes, look if this file exists:
/etc/selinux/config
if if exists open it and replace:
SELINUX=enforcing
with
SELINUX=permissive
LOL .if this all not works the best might be to give me root access via SSH and let me check it...
Code: Select all
cd /tmp
ln -s /var/run/mysqld/mysqld.sock mysqld.sock
/etc/init.d/mysql start
Then i gotcd /tmp
Code: Select all
root@Dltr:/tmp#
Then i gotln -s /var/run/mysqld/mysqld.sock
ln -s mysqld.sock
Code: Select all
ln: creating symbolic link `./mysqld.sock': File exists
Then i got/etc/init.d/mysql start
Code: Select all
* Starting MySQL database server mysqld
After nearly One Minute I got a Fail Message --> [fail]
Code: Select all
root@Dltr:~# cd /tmp
root@Dltr:/tmp# ln -s /var/run/mysqld/mysqld.sock
ln: creating symbolic link `./mysqld.sock': File exists
root@Dltr:/tmp# ln -s mysqld.sock
ln: creating symbolic link `./mysqld.sock': File exists
root@Dltr:/tmp# /etc/init.d/mysql start
* Starting MySQL database server mysqld [fail]
root@Dltr:/tmp#
Code: Select all
ls -al /etc/mysql
Code: Select all
ls -al /var/lib/mysql
Outputls -al /etc/mysql
Code: Select all
total 36
drwxr-xr-x 3 root root 4096 2010-01-27 22:10 .
drwxr-xr-x 153 root root 12288 2010-02-02 03:55 ..
drwxr-xr-x 2 root root 4096 2010-01-27 22:10 conf.d
-rw------- 1 root root 333 2010-01-27 14:02 debian.cnf
-rwxr-xr-x 1 root root 1198 2009-10-07 17:44 debian-start
-rw-r--r-- 1 root root 3637 2010-01-27 14:52 my.cnf
-rw-r--r-- 1 root root 3632 2009-10-07 17:44 my.cnf~
Outputls -al /var/lib/mysql
Code: Select all
total 20500
drwxr-xr-x 4 mysql mysql 4096 2010-02-01 21:31 .
drwxr-xr-x 63 root root 4096 2010-01-27 22:30 ..
-rw-r--r-- 1 mysql mysql 0 2010-01-27 22:10 debian-5.1.flag
-rw-rw---- 1 mysql mysql 10485760 2010-02-01 21:31 ibdata1
-rw-rw---- 1 mysql mysql 5242880 2010-02-01 21:31 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 2010-01-27 14:02 ib_logfile1
drwxr-xr-x 2 mysql mysql 4096 2010-01-27 22:10 mysql
-rw------- 1 mysql mysql 6 2010-01-27 14:02 mysql_upgrade_info
drwx------ 2 mysql mysql 4096 2010-01-27 14:56 phpmyadmin
Code: Select all
apt-get install ssh
Well ... My Pleasure .hm, everything fine there.....I have to admit that I am coming to the point where it would be really the best when you give me the login data so I can check it out myself....