run mysql on ubuntu terminal code example
Example 1: start mysql server ubuntu
sudo service mysql-server
Example 2: start mysql server linux terminal
sudo /etc/init.d/mysql start
or
systemctl start mysql.service
Example 3: setup mysql ubuntu
sudo apt install mysql-server
sudo mysql_secure_installation utility