Quote:
Originally Posted by willc86
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
|
...you're connecting your mysql client to the mysql service over a specific socket name,
Quote:
Originally Posted by willc86
/usr/libexec/mysqld: Can't change dir to '/mnt/xfsdisk/mysql/' (Errcode: 13)
|
...but your mysql service isn't running,
Quote:
Originally Posted by willc86
socket=/mnt/xfsdisk/mysql/mysql.sock
|
...and your service socket is located somewhere else,
Quote:
Originally Posted by willc86
i tried these commands to fix them, but still sam eproblem
|
...and you haven't shown us ('grep mysql /var/log/audit/audit.log|audit2allow;') if SELinux is the problem.
Quote:
Originally Posted by willc86
also I do not have a [client] in the my.cnf file.
|
Decide if you need or want the default section after reading the documentation.
Quote:
Originally Posted by willc86
the funny part is it was working just fine. i tried to install mantis but i dont know if that is the problem?
|
It was your
intention to install the Mantis bug tracker but you
created or compounded problems by also chosing to change the default directory MySQL. Also note your "/mnt/xfsdisk" is line "/var/lib" and it MUST NOT have the same context as "/var/lib/mysql" or "/mnt/xfsdisk/mysql". So next to compounding things you also managed to skew things further. I suggest you restore everything back to defaults and then you will see the installation will work just OK. If you can't for some reason then ensure the fix you're applying is the correct one and please be precise applying it.