I'm feeling stupid -- about getting MySQL to start up

34 views
Skip to first unread message

Kirk Keeter

unread,
Jun 6, 2013, 1:15:44 PM6/6/13
to rubyonra...@googlegroups.com
Fellows (and ladies),

Am new to the RoR group here on google.

I installed MySQL using the Brew Install bundler, and now I'm having difficulty getting MySQL to automatically launch at startup.

I'm on a Mac -- with 10.8 (Mountain Lion),

I've tried installing the startup prefs into the Control Panel, and that's not working.

I've also searched the web pretty diligently, and can't find a solution.

Suggestions?

Kirk

Robert Walker

unread,
Jun 7, 2013, 9:23:14 AM6/7/13
to rubyonra...@googlegroups.com
Kirk Keeter wrote in post #1111621:
Did you read the post install instructions after installing with
Homebrew?


To connect:
mysql -uroot

To have launchd start mysql at login:
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
Then to load mysql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Or, if you don't want/need launchctl, you can just run:
mysql.server start

--
Posted via http://www.ruby-forum.com/.

Benjamin Iandavid Rodriguez

unread,
Jun 7, 2013, 11:34:23 AM6/7/13
to rubyonra...@googlegroups.com
you can also try:

$ brew info mysql

to list all the required steps to start mysql, alternatively you can run brew doctor to see if your system requires additional configuration, for instance if your path has /local/bin before /usr/local/bin it might be posible that you are using the mysql instance installed by Mac OSX instead of the Home Brew installed one.


2013/6/7 Robert Walker <li...@ruby-forum.com>

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2447754b32cd5b78d5e142c8cb99c9c2%40ruby-forum.com?hl=en-US.

Reply all
Reply to author
Forward
0 new messages