/wpsql

Bash script that, given a wp-config.php file, opens a MySQL session to the DB server described within

wpsql

A simple command line tool for connecting to a WordPress database. If you've ever spent time poking around in a wp-config.php file looking for database credentials, this tool is for you.

Usage

wpsql path/to/wp-config.php

wpbak

A simple command line tool for connecting to a WordPress database and making a backup of it. If you've ever worried about screwing up a WordPress database, this tool is for you. If you haven't, you need to learn to be more cautious. So, this tool is for you.

Usage

wpbak path/to/wp-config.php