home, PHP, updated

Installing MySQL Apache in Ubuntu

To Install Mysql in Apache Ubuntu.

1. sudo apt update
2. sudo apt install mysql-server
3. sudo systemctl start mysql.service
4. systemctl status mysql.service
Output
● mysql.service - MySQL Community Server
     Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2020-04-21 12:56:48 UTC; 6min ago
   Main PID: 10382 (mysqld)
     Status: "Server is operational"
      Tasks: 39 (limit: 1137)
     Memory: 370.0M
     CGroup: /system.slice/mysql.service
             └─10382 /usr/sbin/mysqld

Related Articles

post a comment