User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 423,514 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,625 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 7213 | Replies: 1
Reply
Join Date: Jul 2004
Posts: 2
Reputation: innersmile is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
innersmile innersmile is offline Offline
Newbie Poster

Can't connect to local MySQL server

  #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!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: Fort Bragg, NC
Posts: 189
Reputation: mikeSQL is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 3
mikeSQL's Avatar
mikeSQL mikeSQL is offline Offline
Junior Poster

Re: Can't connect to local MySQL server

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MySQL Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the MySQL Forum

All times are GMT -4. The time now is 4:41 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC