blog

Jun 28 2010

Using MAMP Mysql from the command-line

by Joseph Smith

While attempting a DB export from a Drupal site via drush, I hit an obvious problem. OS X's mysql and MAMP's mysql are not equal. to access MAMP's mysql from the command line (and drush), you can create a .my.cnf file in your home directory and save the...

Apr 18 2010

Skip phpMyAdmin and dump your DB using terminal commands

by Joseph Smith

I love tools like phpMyAdmin, but trying to perform mysql import or export commands on a remote server can sometimes be infuriating. It might work, it might not. You shouldn't have to ask "Will it succeed this time? Safari's been spinning for awhile... maybe it's dead..."....