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 > Error when trying to install MySQL

Error when trying to install MySQL
Thread Tools
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Nov 20, 2003, 11:38 AM
 
I'm trying to install MySQL 4.0.16 from the source on Jaguar. It reports "no acceptable C compiler found in $PATH"

I assume that OS X comes with a C compiler, but it has to be added to root's path. How do I do this?
     
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
Nov 20, 2003, 11:54 AM
 
Install the developer tools.

Look in /Applications/Installers

Wade
     
Posting Junkie
Join Date: Feb 2000
Location: Washington, DC
Status: Offline
Reply With Quote
Nov 20, 2003, 04:41 PM
 
Originally posted by wadesworld:
Install the developer tools.

Look in /Applications/Installers

Wade
What's in there?

I have installed, but don't quite understand how to create a database. I keep getting

ERROR 1044: Access denied for user: '@localhost' to database 'mitch_db'

I have set the root account, but it just doens't work. It's like I'm missing one important step
     
Senior User
Join Date: Oct 2000
Location: Midwest
Status: Offline
Reply With Quote
Nov 20, 2003, 06:36 PM
 
That is refering to the root account in mysql which is not the same as a Mac OS X root account. Here is a link http://www.entropy.ch/software/macosx/ that will provide you with packages, directions, etc.

HTH
Craig
     
Mac Enthusiast
Join Date: Feb 2002
Location: Atlanta
Status: Offline
Reply With Quote
Nov 20, 2003, 07:25 PM
 
Originally posted by mitchell_pgh:
What's in there?

I have installed, but don't quite understand how to create a database. I keep getting

ERROR 1044: Access denied for user: '@localhost' to database 'mitch_db'

I have set the root account, but it just doens't work. It's like I'm missing one important step
The first thing you need to do is creat a root user and password.

On Linus it is:

mysqladmin -u root password 'somepassword'

then you can log into mySQL:

mysql -u root -p

and it will prompt you for that password...
MacBook Pro C2D 2.16GHz 2GB 120GB OSX 10.4.9, Boot Camp 1.2, Vista Home Premium
mac mini 1.42, 60GB 7200rpm, 1GB (sold), dual 2GHz/G5 (sold), Powerbook 15" 1GHz (sold)
dual G4 800MHz (sold), dual G4 450MHz (sold), G4 450MHz (sold), Powerbook Pismo G3 500MHz (sold)
PowerMac 9500 132MHz 601, dual 180MHz 604e, Newer G3 400MHz (in closet)
Powermac 7100 80MHz (sold), Powermac 7100 66MHz (sold)
     
Mac Enthusiast
Join Date: Feb 2002
Location: Atlanta
Status: Offline
Reply With Quote
Nov 20, 2003, 07:25 PM
 
Originally posted by sodamnregistered2:
On Linus it is:
haha, a lil' slip..
MacBook Pro C2D 2.16GHz 2GB 120GB OSX 10.4.9, Boot Camp 1.2, Vista Home Premium
mac mini 1.42, 60GB 7200rpm, 1GB (sold), dual 2GHz/G5 (sold), Powerbook 15" 1GHz (sold)
dual G4 800MHz (sold), dual G4 450MHz (sold), G4 450MHz (sold), Powerbook Pismo G3 500MHz (sold)
PowerMac 9500 132MHz 601, dual 180MHz 604e, Newer G3 400MHz (in closet)
Powermac 7100 80MHz (sold), Powermac 7100 66MHz (sold)
     
   
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 02:42 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