I am trying to setup MySql inside Docker container which is running using Amazon Corretto 11. I could install the MySql but not able to start the server.
I basically followed the steps given below: https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/#repo-qg-yum-installing
wget https://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm
yum localinstall -y mysql80-community-release-el7-1.noarch.rpm
yum install -y mysql-community-server
service mysqld start
I am gettin service: command not found
error when its trying to start the MySql.
I tried another approach to see if i can start the service:
systemctl start mysqld.service
I am getting error: Failed to get D-Bus connection: Operation not permitted
Can someone help me here to find out the right to start MySql?
Thanks In Advance