943,518 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 8933
  • MySQL RSS
Jul 22nd, 2004
0

Can't connect to local MySQL server

Expand Post »
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!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
innersmile is offline Offline
2 posts
since Jul 2004
Dec 21st, 2004
0

Re: Can't connect to local MySQL server

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.
Reputation Points: 16
Solved Threads: 3
Junior Poster
mikeSQL is offline Offline
196 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: SQueaLs of frustration ...
Next Thread in MySQL Forum Timeline: Database Design Advice





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC