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 > MySQL update from Apple- good for OSX?

MySQL update from Apple- good for OSX?
Thread Tools
Junior Member
Join Date: Feb 2000
Location: Chicago, IL
Status: Offline
Reply With Quote
Jun 4, 2001, 08:55 PM
 
Apple has released an update of MySQL that is meant for OSX Server v.10.0.3.

http://asu.info.apple.com/swupdates.nsf/artnum/n12267

It seems to me that this should be compatible with OSX consumer as well since OSX Server is now based on the main OS where previous versions (1.0-1.2) were based on some other codebase.

Anybody have any information to confirm my supposition?
     
Fresh-Faced Recruit
Join Date: Jan 2001
Location: London, UK
Status: Offline
Reply With Quote
Jun 5, 2001, 05:01 AM
 
Warning: I have installed this thinking the same and now my System and Library folders are missing!!

Anyone know what this install is trying to do? There are no docs from Apple (I wish they'd include Readmes with the .pkgs)

I had a working, self compiled MySQL setup (all default locations), just with the no-shutdown bug.

Sys info: iMac DV, Mac OS X 10.0.3 ('Client')

Any ideas on getting back my System folder? or has it been rm'd (should go to trash!)
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jun 5, 2001, 01:04 PM
 
It's a major problem with pax, the thing that the installer runs on the archives to unpack the files.

See here: http://www.stepwise.com/Articles/Tec...tallerOnX.html

I think you're probably running into problems because you've:
1) tinkered with the system at commandline level
2) installed an update not for your system.

if it's a bug in a unix-level utility (well actually, it's a POSIX-compliant behaviour, but anyways) then there's no chance of it going to the trash.
     
Dedicated MacNNer
Join Date: Jun 2000
Location: Dundas, Ontario, Canada
Status: Offline
Reply With Quote
Jun 5, 2001, 03:10 PM
 
I installed the package on my OS X 10.0.3 client system and had no such problem. However, I can't tell if it did anything and am worried that some sort of damage may have been done (but everything seems to work). Since I don't have time to write any PHP to test if there is a MySQL server running on my machine, can someone tell me if there is any other way to test it?

Thanks,
Jeff.
Spectral Class
"Shedding Light on Innovation"
     
Fresh-Faced Recruit
Join Date: Dec 1999
Status: Offline
Reply With Quote
Jun 5, 2001, 04:53 PM
 
The mysql.com web site contains tons of useful stuff, including full docs.

Here's the docs on testing the install :
http://www.mysql.com/doc/P/o/Post-installation.html
     
Dedicated MacNNer
Join Date: Apr 1999
Location: MA
Status: Offline
Reply With Quote
Jun 5, 2001, 08:07 PM
 
I installed the package on the plain old OS X (iBook 366, 320mb RAM, 10.0.3). At first, I wondered if it really installed anything. After digging around a bit, I found /usr/local/mysql.

I tried starting the dameon like this, but as you can see, it failed:

<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>[localhost:/usr/local/mysql (<font color = blue>0.000</font> Mb)]$ ./bin/safe_mysqld
The file /BinaryCache/MySQL/MySQL-1Z13.root~<font color = blue>1</font>/usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Please <font color = green>do</font> a cd to the mysql installation directory and restart
<font color = green>this</font> script from there as follows:
./bin/safe_mysqld.
[localhost:/usr/local/mysql (<font color = blue>0.000</font> Mb)]$</font>[/code]

It doesn't appear that it installs any kind of startup script, so even after re-booting, the server still won't be running.

But, I was able to test that the client worked properly. I connected to a MySQL instance running on a Linux box just fine... even over the AirPort connection .

I'll probably mess around with it again, but I really didn't have a need, I just was playing around
dennis
     
mcdoken  (op)
Junior Member
Join Date: Feb 2000
Location: Chicago, IL
Status: Offline
Reply With Quote
Jun 9, 2001, 05:50 PM
 
thanks for the info, though it is conflicting enough to make me doubt if its worth the risk to try installing it. I have .31 running fine on my machine with the exception of the bug that keeps it from shutting down. I was hoping that maybe the version Apple released took care of that problem and was also safe to install. Any info on this?
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jun 10, 2001, 03:58 AM
 
Originally posted by mcdoken:
<STRONG>thanks for the info, though it is conflicting enough to make me doubt if its worth the risk to try installing it. I have .31 running fine on my machine with the exception of the bug that keeps it from shutting down. I was hoping that maybe the version Apple released took care of that problem and was also safe to install. Any info on this?</STRONG>
it won't have. this is due to the lack of pthread_sigmask and pthread_kill on Darwin. I think we have been told they're going to fix it at some point, there's a bug for it in radar and so on, so fingers crossed
     
   
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 12:12 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