DEPRECATED. Use WP-CLI instead! Old: Bash script that, given a wp-config.php file, opens a MySQL session to the DB server described within
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

NOTE: This project is deprecated

I now recommend that everyone use WP-CLI instead! This project will not be maintained further.


For posterity:

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.


wpsql path/to/wp-config.php