home
clear breadcrumbs
search
login
 
mysql
mysql mariadb add user: CREATE USER 'owncloud'@'localhost' IDENTIFIED BY 'owncloud'; GRANT ALL PRIVILEGES ON owncloud. * TO 'owncloud'@'localhost'; FLUSH PRIVILEGES; sql dump all databases mysql -upete -ppolarbear -N -e 'show databases' | while read dbname; do mysqldump -upete -ppolarbear --single-transaction "$dbname" > "$dbname".sql; done