mysql 5.7 default root password code example Example: ubuntu mysql-server default root password sudo mysql --defaults-file=/etc/mysql/debian.cnf