Tech Tidbits - Ruby, Ruby On Rails, Merb, .Net, Javascript, jQuery, Ajax, CSS...and other random bits and pieces.

Showing posts with label osx. Show all posts
Showing posts with label osx. Show all posts

Tuesday, June 3, 2008

CocoaMySQL - MySQL GUI for Mac OS X

I had to restore a MySQL database dump to a server at new host with no shell access. The host recommended SQLyog, but I'm working on this project on my Mac, and SQLyog is Windows only.

CocoaMySQL was a quick and easy install and did exactly what I needed.

Of course, on my Mac itself, it was the standard MySQL command:

$ mysql -h localhost -u root myshinynewdb < mydatabasedump.sql

Wednesday, December 19, 2007

Viewing .CHM files on Mac OS X - Chmox

I tried several Mac options and had no luck (xchm froze, libchmxx has a utility called chmdissect - it worked, but no images)...finally, I struck gold with Chmox.

1) Install CHMLIB - http://www.jedrea.com/chmlib/

% ./configure
% make
% sudo make install

2) Install Chmox - http://chmox.sourceforge.net/

The binary is a standard dmg file...click on the dmg file and move the application over to your application directory.

Saturday, September 1, 2007

Upgrading to PHP5 on Mac OS X 10.4

I've been running PHP5 for ages on my Linux box, but my new (for me) MacBook Pro had PHP4...um, time for an upgrade. Well, easy enough...

I downloaded the PHP5 tarball from http://www.entropy.ch/software/macosx/php/ and did the install.

Before the install, I commented out all the php4 lines in my apache config file(/etc/httpd/httpd.conf).

The entropy package installed under /usr/local/php5 and it added a new config file (/private/etc/httpd/users/+entropy-php.conf), which is included by the main apache httpd.conf file...restart apache, that's it!

About Me

My photo
Developer (Ruby on Rails, iOS), musician/composer, Buddhist, HSP, Vegan, Aspie.

Labels