how to open mysql with a password terminal code example Example: start mysql server linux terminal sudo /etc/init.d/mysql start or systemctl start mysql.service