On the new server I want the databases and the websites on a partition on its own so I installed mysql and changed the /etc/my.cnf.
Changed the datadir and socket from '/var/lib/mysql' so the place I want the DB to be placed. I did this on the older server with no problems but with symlinks, but with this server I first couldn't start phpMyAdmin that just said: #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
So I started to google about it and found to test mysqladmin too and that one said:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
so I knew that something was corrupt. I started to look around google and they said like, look in /tmp or your home dir and stuff, but I can't find ANY my.cnf on any place other than /etc/my.cnf.
I thought that I disabled the SELinux at install, but later I found out that I didn't but now I've set the /etc/selinux/config and the parameter to: SELINUX=disabled. I still see some "dots" in the access of files and dirs, so I still wonder if it's running
Have you any idea what I've missed here?


