MySQL

SQL

Meta

Command Line

mysqldump

.my.cnf

Create a .my.cnf configuration file in your home directory. Containing:

[client]
user = <userid>
password = <password>
database = <db_name>
[mysql]
# Do not apply updates or deletes which lack where clauses
safe-updates
# Include database name in prompt
prompt=\d>\_