Fulltext results:
- MySQL: Backup
- L: Backup ====== ===== Export a Database ===== <code bash> # set or replace the variables $USER, $PASS... dump --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
- eate 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
- move Database ====== ==== Remove Database ==== <code sql> DROP DATABASE IF EXISTS `{db}`; </code> {{tag>admin database mysql sql}}