Fulltext results:
- MySQL: Backup
- Backup ====== ===== Export a Database ===== <code bash> # set or replace the variables $USER, $PASS... mp --add-drop-table -u${USER} -p${PASS} ${DB} </code> ===== Export all Databases individually ===== <code bash> # set or replace the variables $USER and $P... sleep 10 # optional done wait # for child processes to end </code> {{tag>mysql admin backup export}}
- MySQL: Create Database
- te Database ====== ==== Create Database ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; </code> ==== Create Database and Grant Rights to a User ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
- MySQL: Remove Database
- ve Database ====== ==== Remove Database ==== <code sql> DROP DATABASE IF EXISTS `{db}`; </code> {{tag>admin database mysql sql}}