Can't connect to local MySQL server

Reply

Join Date: Jul 2004
Posts: 2
Reputation: innersmile is an unknown quantity at this point 
Solved Threads: 0
innersmile innersmile is offline Offline
Newbie Poster

Can't connect to local MySQL server

 
0
  #1
Jul 22nd, 2004
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!
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 196
Reputation: mikeSQL is an unknown quantity at this point 
Solved Threads: 3
mikeSQL's Avatar
mikeSQL mikeSQL is offline Offline
Junior Poster

Re: Can't connect to local MySQL server

 
0
  #2
Dec 21st, 2004
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.
dynastyCODERS#1 when it comes to Programming Tutorials, Database designs and discussions, Operating Systems, you name it, check us out and drop us a line to tell us your opinions on any and everything in mind!;)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC