Install RMagick and MySQL with Snow Leopard

mysql snow leopard installThe easiest way to install RMagick is  to download the script from:

http://onrails.org/2009/09/04/rmagick-from-source-on-snow-leopard.html

and to execute it by entering into terminal
[crayon-5bc8965946c61546123862/] If you get errors related to “jpeg” or “jpg” then make sure you don’t have the macports library installed:
[crayon-5bc8965946c6d768567886/] Then run this install script for only installing image magick and all of its dependencies:

http://github.com/masterkain/ImageMagick-sl

After that install RMagick, and you should be good to go
[crayon-5bc8965946c71445299350/] <hr />


To install MySql from source you need to follow these instructions:
[crayon-5bc8965946c75130956929/] Note: some of the version numbers don’t line up, but that’s an easy fix…just means you can’t copy and paste. Then you’ll probably want mysql admin:

MYSql Admin Download

then to get mysql admin to work with OS-X, we need to make sure mysql is running and to set the default configurations  in a new terminal window type:

[crayon-5bc8965946c79822312064/]

Where “mypassword” needs to be replaced with your actual password. Once done you can launch mysqladmin from your application directory and connect to it using these settings:
[crayon-5bc8965946c7d377356170/] [crayon-5bc8965946c80827498667/] [crayon-5bc8965946c84754999586/] Now you can then create new tables by going to “catalogs” and selecting the “+” button under schemata. Type in the name of your database and you’re good to go!

You can change your password in terminal any time by typing:
[crayon-5bc8965946c87008172096/] Note: there is no space between the -p and ‘mypassword

Read Also:  Passing Arguments By Address In C++

Leave a Reply

Your email address will not be published. Required fields are marked *