Remove any launchers by typing sudo rm -rf /Library/StartupItems/MySQLCOM/.What this basically says (for all of we new Mac users is: super user remove the targeted folder and recursively do so to any subsequent folders and files from this location. Remove the installed location by typing sudo rm -rf /usr/local/mysql (keep in mind that if you backed up your databases in this directory it is targeted to get deleted!!!).I had nothing to preserve so again, if you are looking to backup a previous version you might want to research it. I did attempt multiple installs so I did remove them prior to my finally working install. Step 3: Remove previous versions of MySQL But this goes without saying for you other folks. I never had anything installed so I never attempted to do so. Step 2: Backup any existing databases from previous versions of MySQL Now, you are set to access protected areas of the system via the terminal. Note – if you are using Snow Leopard, Directory Utility is located at /System/Library/CoreServices, please note that I updated just this portion on the post and have not tested this any further with Snow Leopard to attempt to clarify some comments below. Open the Directory Utility: In the Finder, navigate to the Utilities folder (tip: click on the desktop, hit Cmd+Shift+U).Keep in mind that this is my attempt at a new install of MySQL on my newly acquired MacBook Pro (MBP hereinafter). I have had MySQL up and running several times only to return to find it no longer wants to start for me. Thanks goes out to all those other bloggers who provided the information found here.Īdditionally, if things keep going the way they had been, this might not work at all. But what did work (so far) is taking bits and pieces from a post here and a post there to finally get something working. All are basically the same with little differences here and there. Before engaging in this tutorial you might want to check with a more traditional install procedure that comes with the newest version of mysql.įirstly, I should preface this post by saying that there are probably at least a dozen posts on this topic. It appears that a 10.5 friendly version of mysql has been released. Before engaging in this tutorial, please do proper research to see if there are easier and more direct ways of installing MySQL for Snow Leopard. Then in "RubyMine | Db Navigator | Settings | Connections" you can setup new connection using the driver.There MAY be a 10.6 installer for MySQL. At first you need to download mysql jdbc driver (e.g. It provides some UI for working with databases, just an alternative to external database viewers. Navigator wont help with your previous issue, but may be useful in general. Will database navigator help? if so how do I set it up? Then launch "db:migrate" task and finally all should work. using RubyMine | Tools | Run Rake Task.). If databases mentioned in database.yml aren't already created you need to launch "db:create" rake task (e.g. Then you need to launch mysql server manually. Is "mysql" rubygem gem is also installed? If yes, check that "config/database.yml" file describes connection to your MySql database. I can start and stop my mysql server but I am not sure how to connect to it I am using RVM for my ruby installation and I can genearate a rails project but I am lost with mysql. I have Rubymine 3 on my Mac OSX 10.6 and I have mysql isntalled.
0 Comments
Leave a Reply. |