Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > mysql install issues

mysql install issues
Thread Tools
Senior User
Join Date: Apr 2001
Location: Palo Alto, CA
Status: Offline
Reply With Quote
Dec 6, 2003, 12:30 AM
 
I've just downloaded the standard mysql package and tried to install it on a G5 under 10.3.1 following these instructions:

http://www.entropy.ch/software/macosx/mysql/

This is the package: mysql-standard-4.0.16-apple-darwin6.6-powerpc

I followed the instructions on Marcs site carefully, but when I get to step 5 ie:

To start the server, issue sudo echo first, then type sudo ./bin/mysqld_safe &

I get this error:


Starting mysqld daemon with databases from /usr/local/mysql/data
031205 15:43:24 mysqld ended


. . . .
If I then try to reinitialize the database I get tripped up on step #1 when trying to remove the database:

tcsh: sudo: No match.


So this implied that somehow I was running tsch instead of bash. I changed to bash in netinfo manager.

Rebooted and reinstalled.

Now when I run step #5, but I still get:

Starting mysqld daemon with databases from /usr/local/mysql/data
031205 21:21:28 mysqld ended


and if I try to run the test I get:

ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[1]+ Done


Any help would be appreciated (scrolling through various mac web forums it looks like there a several other people with similar issues...)!
     
Dedicated MacNNer
Join Date: Nov 2003
Location: SoCal
Status: Offline
Reply With Quote
Dec 6, 2003, 01:16 AM
 
you downloaded the wrong file...

you are suppose to download the package installer version it ends in .dmg NOT .tar.gz

you want mysql-standard-4.0.16.dmg NOT mysql-standard-4.0.16-apple-darwin6.6-powerpc.tar.gz

he explicitly states this:
"Download theStandard package in the Mac OS X Package Installer downloads section (NOT theMac OS X downloads section!)"

it's a piece of cake after that
     
Senior User
Join Date: Apr 2001
Location: Palo Alto, CA
Status: Offline
Reply With Quote
Dec 6, 2003, 01:49 AM
 
I didn't make a mistake with the download ( I downloaded the correct file with the dmg containing two packages)...

I confirmed this by sucessfully installing mysql from the same dmg on another machine without any problems.

The difference was that the 2nd machine had a default clean install of Panther and the first machine had an archive & install version of Panther...

My guess is that this has something to do with the shell not intially being set to bash (and maybe some other bash related settings)...

...and the specific problem is that /tmp/mysql.sock is not being created...

...but I'm still stymied as to how to fix these issues.
(Last edited by barbarian; Dec 6, 2003 at 01:56 PM. )
     
Dedicated MacNNer
Join Date: Nov 2003
Location: SoCal
Status: Offline
Reply With Quote
Dec 6, 2003, 08:59 PM
 
ok my bust?

did you try compiling from source?
     
Senior User
Join Date: Apr 2001
Location: Palo Alto, CA
Status: Offline
Reply With Quote
Dec 6, 2003, 11:29 PM
 
No... compiling from source seemed like a sure disaster for a newbie like me...

Again I'm pretty sure the problem has to do with the way the archived tcsh settings were copied over with my archive&install panther upgrade.

It actually causes problems problems in several places... for example I have kde installed but kdestart won't launch from bash, I have to switch to tcsh in order for the command to work.
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 11:57 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2