MySQL

F

ftjogoh

Guest
I am countinually receiving these errors.
I have followed all the instructions on several sites including apple's developer site...
I have compiled from source and also install binary and from darwin ports.
yet I keep getting this error. I under statn the the the seccond cammand will not execute properly if the first does not but I'm lost.
I have been running mysql on linux for quite some time now.

Code:
Josh-Holts-Computer:/opt/local/bin root# ./mysqld_safe --user=mysql
Starting mysqld daemon with databases from /opt/local/var
STOPPING server from pid file /opt/local/var/Josh-Holts-Computer.local.pid
041108 11:16:57  mysqld ended

Josh-Holts-Computer:/opt/local/bin root# ./mysqltest                                        
./mysqltest: Failed in mysql_real_connect(): 
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
 
OP
C

chrissss

Guest
i have the same problem please let me know if you have figured it out

cheers chris
 
Joined
Jan 15, 2003
Messages
4
Reaction score
16
Points
3
Location
Whangarei, New Zealand
Your Mac's Specs
Pwnt
I got the second error after I'd upgraded an installation. I fixed that by removing /tmp/mysql.sock and running the installer again. Can't help you with the first one, sorry...
 
Joined
Jun 11, 2003
Messages
4,915
Reaction score
68
Points
48
Location
Mount Vernon, WA
Your Mac's Specs
MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
Try using http://www.entropy.ch/ instructions and use the MySQL OS X installer and then try setting the permissions on the /tmp/ directory to 777 and see if that works for you. It looks like you are having a write error to that directory.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top