New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

MySQL


Post Reply New Thread Subscribe

 
Thread Tools
ftjogoh
Guest
 
Posts: n/a

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)
QUOTE Thanks
chrissss
Guest
 
Posts: n/a

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

cheers chris
QUOTE Thanks
muso

 
muso's Avatar
 
Member Since: Jan 15, 2003
Location: Whangarei, New Zealand
Posts: 2
muso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond repute
Mac Specs: Pwnt

muso is offline
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...

I'm in your forums, writing sentences in a grammatically acceptable manner.
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« Javascript and Frames problem in Safari | My Site: at least one I made »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Installing mySQl on Mac OS X sealey Web Design and Hosting 7 06-02-2005 10:45 PM
Any MySQL users (gurus) out there? mgm_03 OS X - Development and Darwin 5 05-03-2004 05:51 PM
MySQL password retardation mrtojamura OS X - Development and Darwin 0 02-19-2004 08:13 PM
MySQL Logging. . . RobotDeathSquad OS X - Development and Darwin 0 01-04-2004 07:04 PM
mysql : my first table dmonk OS X - Development and Darwin 3 08-26-2003 07:39 PM

All times are GMT -4. The time now is 04:22 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?