Hi there. First of all i would like to introduce myself since this is my very first post.
My name is Jim and i'm from Greece. AND i'm pretty new to the linux. I chose to install FC9. servering httpd, php and mysql. So far, i had no problem with http and php but i'm having troubles with mysql.
Here it goes:
i've installed mysql.i386 (5.0.51a-1.fc9.i386.rpm) and mysql-server.i386 (5.0.51a-1.fc9) via yum with all their dependencies.: When i try to run the service, ("mysql start") i get the error:
Code:
[root@localhost /]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Searching a little bit deeper i found that this error's coming from /etc/my.cnf:
Code:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql.sock
user=mysql
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Further more i found that the file "mysql.sock" is generated automatically when mysqld is starting but still no results from "find -name mysql.sock". And yup i can see the service mysqld running.
Sorry if this problem is kinda "newbie" to you. Any kind of help would be really appreciated.
Thank you in advance.