How do I auto start mysql on my mac

Joined
May 14, 2008
Messages
1
Reaction score
0
Points
1
I just bought a mac. I installed MySQL. However in order to start mysql I need to log in as root. I created this script called 'dbstart'. So this is what I do after my machine comes up.

sudo -i
password: **
dbstart

exit
and back to console

Is there a way to automate this process so that dbstart is executed every single time I start my machine.

Thank You.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top