Closed Rabadash8820 closed 7 years ago
It looks like the mysqld service started by cfn-init
is most likely /etc/init.d/mysqld
. Reading this script's code, it looks like it already executes the mysqld_safe script (stored at /usr/libexec/mysql56/mysqld_safe
). So I think we're good!
Cancelling this issue...
This article, which describes how to start the mysqld daemon, mentions another command called mysqld_safe. Apparently, this command is the recommended way to start mysqld on Linux instances pre-5.7. Since Amazon Linux only offers MySQL 5.6 out of the box (and adding the MySQL repo to upgrade doesn't seem necessary yet), we should be using this command.