install_and_configure_mysql_server_on_ubuntu.md 690 B

mysql server installation and configuration on Ubuntu Server 22.04

  1. Update ubuntu server first:

    sudo apt update
    
  2. Then upgrade ubuntu server:

    sudo apt upgrade
    
  3. Install mysql server:

    sudo apt install mysql-server
    
  4. Start mysql service:

    sudo systemctl start mysql
    

​ Type systemctl status mysql in the console to check mysql server running status.

​ If mysql server is installed and started correctly. It would be looked like this:

image-20230627172104628