Zmiana hasła root i backup
czwartek, maj 17th, 2007mysql> grant all on *.* to root@"129.79.78.%" identified by "{root mysqluser password}" with grant option;
Query OK, 0 rows affected (0.00 sec)
user@linux:~/files/blog>
mysqldump --add-drop-table -h mysqlhostserver -u mysqlusername -p databasename (tablename tablename tablename) | bzip2 -c > blog.bak.sql.bz2 Enter password: (enter your mysql password) user@linux~/files/blog>