Fulltext results:
- MySQL: Backup
- se ===== <code bash> # set or replace the variables $USER, $PASS and $DB mysqldump --add-drop-table -... -p${PASS} ${DB} </code> ===== Export all Databases individually ===== <code bash> # set or replace the variables $USER and $PASS DATE_YMD=$(date "+%Y-%m-%d") DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execu
- MySQL: Create Database
- DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>adm