建立数据库连接时出错:wordpress googleappengine cloudsql
Error establishing a database connection : wordpress googleappengine cloudsql
我与 ClouSQL 的数据库连接错误。细节似乎是正确的。
Error establishing a database connection
以下是我的连接详情。
define('DB_HOST', ':/cloudsql/xxx-wp:wordpress');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
我已经坚持了几天了,不知道是什么原因。它适用于我的本地。
当我尝试 wordpress 管理控制台时,它显示此消息。这里我的连接细节和这里提到的所有场景似乎都可以。
This either means that the username and password information in your
wp-config.php file is incorrect or we can't contact the database
server at :/cloudsql/vairagyawp:wordpress. This could mean your host's
database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
能否请您澄清 wordpress
在 DB_HOST 详细信息中代表什么。这是 CloudSQL 实例名称吗?
找到原因了,云SQL二代还在测试中。不支持应用引擎。它在下拉列表中,查看随附的屏幕截图。
我与 ClouSQL 的数据库连接错误。细节似乎是正确的。
Error establishing a database connection
以下是我的连接详情。
define('DB_HOST', ':/cloudsql/xxx-wp:wordpress');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
我已经坚持了几天了,不知道是什么原因。它适用于我的本地。
当我尝试 wordpress 管理控制台时,它显示此消息。这里我的连接细节和这里提到的所有场景似乎都可以。
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at :/cloudsql/vairagyawp:wordpress. This could mean your host's database server is down.
Are you sure you have the correct username and password? Are you sure that you have typed the correct hostname? Are you sure that the database server is running?
能否请您澄清 wordpress
在 DB_HOST 详细信息中代表什么。这是 CloudSQL 实例名称吗?
找到原因了,云SQL二代还在测试中。不支持应用引擎。它在下拉列表中,查看随附的屏幕截图。