如何在云端安装 joomla 9 IDE?

how install joomla on the cloud 9 IDE?

我无法安装 joomla。在第二阶段 "Database" 我写入主机名“0.0.0.0”,但数据库无法连接到 MySQL。我试过写8080和localhost,结果是一样的。我能做什么?

根据 this source,0.0.0.0 是正确的主机名,所以这可能不是问题的根源。

  • 你检查过 mysql 是 运行 了吗?

  • 可能是您的数据库用户名/密码有问题?您可以创建 This page has a simple php 脚本来测试您的数据库凭据是否正确并且 MySQL 是否为 运行。设置密码和数据库名称,看看是否连接。

    $servername = getenv('IP');
    $username = getenv('C9_USER');
    $password = "...";
    $database = "...";
    $dbport = 3306;
    
    // Create connection
    $db = new mysqli($servername, $username, $password, $database, $dbport);
    
    // Check connection
    if ($db->connect_error) {
        die("Connection failed: " . $db->connect_error);
    } 
    echo "Connected successfully (".$db->host_info.")";
    

祝你好运!