0
我有一种情况,出于某种原因,我无法使用Google的Cloud SQL。因此,我希望appid.appspot.com上的应用程序连接到外部数据库服务器。尝试从Google App Engine连接到外部数据库服务器时出错
db.php中
'hostname' => '202.202.202.202',
'username' => 'user',
'password' => 'password',
'database' => 'dbname',
'dbdriver' => 'mysql',
这给了我一个服务器错误,但是我能够从MySQL工作台连接到数据库。此应用程序在连接到Cloud SQL时没有问题。
错误消息:
Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.
有人可以帮助我理解我要去哪里错了。
“给我一个服务器错误” - 比如? –
@JeremyHarris对不起,我在问题中包含了错误信息。 – Krish
谢谢。日志中的任何内容? https://cloud.google.com/appengine/articles/logging –