954,224 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Can't connect to local MySQL server

Hi,

I just built mysql from source on Solaris. It's
installed in my own space since I have no root
access on that solaris server.

The problem is I always get following error when
trying to run mysql.

sand:163% ./mysql
ERROR 2002: Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (2)

Of course, there is no such file '/tmp/mysql.sock' and
seems I need to modify the configure file '/etc/my.conf'
which also does not exist at all since I do not have write
access to /tmp and /etc.

I can run the ./bin/mysql_conf, but don't know how to use
that program.

Any help? Thanks in advance!

innersmile
Newbie Poster
2 posts since Jul 2004
Reputation Points: 10
Solved Threads: 0
 

Heres 1, Start your MySQLDatabase or PHP program and then boom, there ya go. 1 word of advise, if your newto this, then first try, PHPTriad. Sourceforge.org or whatever and download it.

mikeSQL
Junior Poster
196 posts since Dec 2004
Reputation Points: 16
Solved Threads: 3
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You