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