•
•
•
•
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
![]() |
•
•
Join Date: Jul 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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!
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!
•
•
Join Date: Dec 2004
Location: Fort Bragg, NC
Posts: 189
Reputation:
Rep Power: 4
Solved Threads: 3
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!;)
![]() |
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- mysql_query(): supplied argument is not a valid MySQL-Link (PHP)
- how do I connect to MySQL server which is firewall protected? (Python)
- mysql errors, from submit.php and index.php (PHP)
- HTML Form post to PHP? (PHP)
- ERROR 2002: Can't connect to local MySQL server (MySQL)
- Can't connect error on createuser (PHP)
Other Threads in the MySQL Forum
- Previous Thread: SQueaLs of frustration ...
- Next Thread: Database Design Advice


Linear Mode