chdreamflying
V2EX  ›  Node.js

请教有关 c9.io 的问题?

  •  
  •   chdreamflying · Mar 13, 2015 · 4615 views
    This topic created in 4112 days ago, the information mentioned may be changed or developed.
    c9.io上好像mysql有点问题,命令行中打mysql出现错误如下:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2),谁在c9.io上碰到过吗?
    5 replies    2015-03-16 00:05:15 +08:00
    chdreamflying
        1
    chdreamflying  
    OP
       Mar 13, 2015
    https://docs.c9.io/v1.0/docs/setting-up-mysql,通过这个mysql好像安装成功了,但是部署程序时出现错误:Mysql Connect error:
    { [Error: ER_ACCESS_DENIED_ERROR: Access denied for user ''@'localhost' (using password: NO)]
    code: 'ER_ACCESS_DENIED_ERROR',
    errno: 1045,
    sqlState: '28000',
    fatal: true }

    sudo su进入root用户,但是提示node命令找不到?
    iwege
        2
    iwege  
       Mar 13, 2015
    这个貌似是mysql安装的时候出问题了。
    你用地址google一下应该有解决方案。
    Puteulanus
        3
    Puteulanus  
       Mar 13, 2015
    你启动MySQL服务了吗= =
    sudo service mysql start
    试试。。

    然后mysql -uroot
    chdreamflying
        4
    chdreamflying  
    OP
       Mar 15, 2015
    @Puteulanus
    * Starting MySQL database server mysqld
    ...fail!

    我的会出错,你新建就可以吗?之前没有配置过?
    Puteulanus
        5
    Puteulanus  
       Mar 16, 2015
    @chdreamflying 没,PHP的Workspace,之前没对MySQL做过任何配置。。
    难不成这个还看人品。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3524 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 10:45 · PVG 18:45 · LAX 03:45 · JFK 06:45
    ♥ Do have faith in what you're doing.