Cocoa : Objective-C, Cocoa and various other Mac related technical notes. Mainly notes for myself.
Updated: 4/4/03; 12:29:48 AM.

 

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Wednesday, December 4, 2002

MySQL under OS X instructions are already on Apple's dev server.

The one piece that's missing is startup scripts so that your MySQL server gets restarted on boot up.

Unfortunately, OS X is not like Linux. In fact, it's not like any Unix I'm used to. Startup scripts go under /Library/StartupItems.

So - my little tiny contribution: shake and bake startup scripts.

Unroll the tar.gz file called "mysql-start.tar.gz" from my download page.

Open up a terminal window.

bash-2.05a$ cd /Library/StartupItems/
bash-2.05a$ tar -zxvf ~/mysql-start.tar.gz

And off you go. The scripts assume that you did exactly what the Apple docs suggested. The root password for the MySQL server is assumed to be "sniggle" - just like the Apple docs.
2:27:15 PM    


© Copyright 2003 Victor Ng.



Click here to visit the Radio UserLand website.

 


December 2002
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Nov   Jan