How to start MySQL Service in Amazon Linux2 EC2 Server

0
14
MySQL

This example shows how to start/restart the mysqld service on Amazon Linux2 Server

There are two ways to start the mysql service

sudo service start mariadb

OR

sudo systemctl start mariadb

If you want restart the service then simple change start to restart.

sudo service restart mariadb

OR

sudo systemctl restart mariadb

LEAVE A REPLY

Please enter your comment!
Please enter your name here