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