Rails, MySQL and Snow Leopard
I upgraded to Snow Leopard using the disc we got at WWDC.
I upgraded to Snow Leopard using the disc we got at WWDC.
I accidentally installed the PowerPC version of MySQL on my Intel Mac in Snow Leopard, and it installed without a problem but of course doesn’t run properly. I just didn’t pay enough attention. Now when I try to install the correct x86 version it says that it can’t install because a newer version is already installed. A Google query led me to perform these actions/delete these files to uninstall it:
MySQL-python – Python
interface to MySQL INSTALLED: 1.2.3
LATEST: 1.2.3c1
There were some excellent answers to this question already, however, they are now outdated.
What is the easiest way to activate PHP and MySQL on Mac OS 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion)?
I’ve googled this and could’nt find anything new and useful for Apple’s new OS SnowLeopard.
I wonder if this is my mistake or I do need to do something?
I successfully installed MySql x86_64 in Snow Leopard and Ruby and Ruby Gems seems to be installed properly:
kratos-iii:railsproj zachinglis$ rake db:create (in /Users/zachinglis/Sites/rails/railsproj) Couldn't create database for {"adapter"=>"mysql", "host"=>"localhost", "username"=>"root", "password"=>nil, "database"=>"railsproj_development"}, charset: utf8, collation: utf8_general_ci (if you set the charset manually, make sure you have a matching collation) I had no issues using Sequel Pro and even creating said database. How do I resolve this? Having an empty password never gave … Read more
I am trying to get started on working with Python on Django I am by profession a PHP developer and have been told to set up django and python on my current apache and mysql setup however I am having trouble getting the Mysqldb module for python to work, I must of followed about 6 different set of instructions, I am running snow leopard and have mysql installed natively it is not part of MAMP or similar. Please can some tell me where I need to start and what steps I need to follew I would be most grateful.
When I run the following from a bash shell on my Mac: