| | |
Can't connect to local MySQL server
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2004
Posts: 2
Reputation:
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!
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!;)
![]() |
Similar Threads
- mysql_query(): supplied argument is not a valid MySQL-Link (PHP)
- How To Connect Remote Mysql Database (Visual Basic 4 / 5 / 6)
- How to Config MyOdbc 3.51 and MySql Server 7.0 to a Network Base (MySQL)
- how to make a remote mysql server to be accessed (MySQL)
- MySQL access problems (IT Professionals' Lounge)
- mysql errors, from submit.php and index.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
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright court crm database design developer development distinct dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron microsoft microsoftexchange mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization





