install mysql ububtu code example Example 1: install mysql ubuntu sudo apt install mysql-server Example 2: installing mysql on ubuntu systemctl status mysql