Other Entries

Log

MySQL Helpers

Just some MySQL reminders for myself…

  1. To insert SQL statements from a text document into a database, either existing or new, from the shell:
    cat file.name | mysql -u username -p dbname
  2. To backup a database assuming you’re in /usr/local/bin/ or wherever MySQL is installed:
    ./mysqldump -u username -p database > /full/path/to/the/file.name

04/17/03 03:12PM Geekiness

Recently Played on iTunes

  1. “My Sharona”
    Frat Rock: The '70s
    The Knack
    06/04/11 09:27
  2. “The KKK Took My Baby Away”
    Anthology
    The Ramones
    06/04/11 09:25
  3. “My Sharona”
    Frat Rock: The '70s
    The Knack
    06/04/11 09:24

Last 100 Songs >