olexiy prokhorenko’s blog

olexiy prokhorenko’s blog

Olexiy Prokhorenko  //  I wear many hats and like different things. Dream and evolve, explore what else I can do. I want to build something nice.

More about me you can find on my profile page. You can follow me on Twitter @alexeypro or connect with me on LinkedIn. Do you know me personally? Help me improve, rate my skills on PlusRated.

My interests: Mobile and Web, Technology, Entrepreneurship, Startups, Business, User Experience and Human Interfaces, Lean and Agile Methodologies, Self-improvement.

Nov 12 / 8:29pm

Snow Leopard gives me a headache! (Ruby/MySQL/DBI)

So, needed to create tiny Ruby script which will work with MySQL via DBI. It almost ate my brain. Didn't want to work! But I can swear that it did work before (until I upgraded to Snow Leopard!). Found this link http://freaking.hilbrink.org/?p=7 and it happened to be my problem:

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

So easy and stupid :-(
Works now.

Filed under  //  apple   development   mac   mysql   ruby  

Comments (0)

Sep 27 / 9:47pm

Quick and dirty MySQL install on Mac OS X from tgz

Just as a note to myself, how to install MySQL quick and dirty (very bad bad bad way of doing that, just very fast to make it up and running for quick coding session :-)
sudo /usr/local/mysql/scripts/mysql_install_db --user=root
sudo /usr/local/mysql/bin/mysqld_safe --user=root &

That's it, you are done, go screw you Mac OS X with such hackable installation. But, you still can do some MySQL coding. :-)
Filed under  //  apple   development   mac   mysql  

Comments (0)