Open EC2 Cloud9
$ sudo service mysqld start
$ /usr/libexec/mysql55/mysql_secure_installation
comment - if first time Set root password? [Y/n] $ Y
Remove anonymous users? [Y/n] $ Y
Disallow root login remotely? [Y/n] $ Y
Remove test database and access to it? [Y/n] $ Y
Reload privilege tables now? [Y/n] $ Y
$ mysql -uroot -p
to open mysql command line.
$ mysql-ctl cli