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 > Developer Center > Need Help Upgrading MySQL in Tiger

Need Help Upgrading MySQL in Tiger
Thread Tools
Forum Regular
Join Date: Apr 2003
Location: Toronto, Canada
Status: Offline
Reply With Quote
May 14, 2005, 11:08 AM
 
Tiger ships with MySQL 4.1.3-Beta, but I want to upgrade to MySQL 4.1.11 which is the version I had running in Panther.

I downloaded the installation package from mysql.com and installed mysql 4.1.11 as well as the MySQL Preference Pane and the start-up item. However, when I use phpinfo() I'm told that the current MySQL version running is still 4.1.3-Beta.



What do I need to do to get 4.1.11 running properly?

Thanks.
     
Mac Elite
Join Date: Jan 2002
Location: Live at the BBQ
Status: Offline
Reply With Quote
May 15, 2005, 05:14 PM
 
In the Finder go to the /usr/local folder (hit command-shift-G while in the Finder, and then type in "/usr/local" without the quotes). You should see at least two mysql folders (they may be named by their version numbers), and one alias named simply "mysql". You then need to change that alias to point to the mysql install directory you want to run.

If the mysql install you are looking for is not in /usr/local, it was probably installed in /Library/MySQL, where some of the OS X specific packages may install it. In that case, the alias in /usr/local should point to that mysql directory.

The alias in the /usr/local directory must be named mysql, since the system looks for a folder with that specific name to run it. Also, instead of using an alias, you can simply rename the directory with the proper install you want to use to "mysql", given that the directory is in /usr/local, and there are no aliases with the same name.
"Bill Gates can't guarantee Windows... how can you guarantee my safety?"
-John Crichton
     
   
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 07:32 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