Command Line MySQL

I've been getting back into some Ruby on Rails stuff and had never used MySql from the command line.

Here's enough commands to be dangerous:

mysql -u root -p show databases;

use db_name_development;

show tables;

describe users; # where users is a table name

Published on Thu, 18 Dec 2008 04:18