【问题标题】:May I connect to embedded mysql using Cloud9 free account?我可以使用 Cloud9 免费帐户连接到嵌入式 mysql 吗?
【发布时间】:2014-10-24 13:01:43
【问题描述】:

当我尝试使用 Cloud9 控制台连接到 MySql 时,我得到了Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

是否可以通过免费帐户访问 MySql DB 应用程序?

【问题讨论】:

标签: mysql cloud9-ide


【解决方案1】:

通过执行确保mysql实际上正在运行

echo -n "mysql is "; if ! ps -C mysqld > /dev/null; then echo -n "not "; fi; echo "running"

在命令提示符下。如果它没有运行,请使用:

mysql-ctl start

当它运行时,使用以下连接:

mysql-ctl cli

【讨论】:

    猜你喜欢
    • 2018-06-08
    • 2020-03-16
    • 1970-01-01
    • 2019-08-18
    • 1970-01-01
    • 2013-01-19
    • 2011-06-11
    • 2018-02-18
    • 1970-01-01
    相关资源
    最近更新 更多