Cannot Install / Use MySQL on Amazon Cloud9 Free Account

我的未来我决定 提交于 2019-12-25 00:34:09

问题


I'm trying to run MySQL commands on a free account with Amazon Cloud9 and I cannot get it to work anyhow. I've tried all the commands I've found on the internet, including mysql-ctl install, mysql-ctl start and mysql-ctl cli - all of them result in a discouraging bash: mysql-ctl: command not found.

I think Amazon Cloud9 may have changed their rules regarding free accounts. Please, advise what to do.


回答1:


These are the commands that you need. Write them to terminal.

sudo service mysqld start
sudo mysql_secure_installation

To run MySQL Shell:

mysql -uroot -p

To stop the service:

sudo service mysqld stop


来源:https://stackoverflow.com/questions/48005924/cannot-install-use-mysql-on-amazon-cloud9-free-account

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!