Grant All On To By: Privileges . at Identified
Grant All On To By: Privileges . at Identified
mysqladminurootpassword<expaswd>
Tograntprivilegestorootuser
grantallprivilegeson*.*to<username>@'%'identifiedby'mypasswd';
Tograntpermisiionstoebiansysmaint'@'localhost
#mysql>GRANTALLPRIVILEGESON*.*TO'debiansysmaint'@'localhost'IDENTIFIEDBY
'passwdhere';
#checkthepasswdin/etc/mysql/debian.cnf
mysqlstartfailedorgettingthiserror&&Can'topenandlockprivilegetables:Table
'mysql.host'doesn'texist
#sudomysql_install_dbuser=mysqlldata=<newpath>
Createmysqluser
CREATEUSER'newuser'@'localhost'IDENTIFIEDBY'password';
totakesingledatabasebackup
mysqldumpdatabase_name>database_name.sql
singletablebackup
mysqldumpurootptecmintwordpresswp_posts>wordpress_posts.sql
multipletables
mysqldumpurootptecmintwordpresswp_postswp_comments>
wordpress_posts_comments.sql