MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Posted by: Dzodzo Action
Date: July 08, 2008 06:42AM

the answer is here:

here is few steps of my compilation process:


1)
cd /usr/local/src/mysql folder
2)
chown -R root.root *
3)
make clean
4)
./configure \
--prefix=/usr/local/mysql \
--localstatedir=/usr/local/mysql/data \
--disable-maintainer-mode \
--with-mysqld-user=mysql \



// this line DONT FORGET ABOUT IT
--with-unix-socket-path=/tmp/mysql.sock \
// this line


--without-comment \
--without-debug \
--without-bench


5) make && make install



its working!

Options: ReplyQuote


Subject
Written By
Posted
Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
July 08, 2008 06:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.