forgot root user password mysql code example Example: remove root password mysql mysqladmin -u root -pType_in_your_current_password_here password ''