简体   繁体   English

MYSQL和Facebook(FBML)

[英]MYSQL and Facebook (FBML)

I am trying to develop a facebook application, I am using the FBML not iframe option. 我正在尝试开发一个Facebook应用程序,我正在使用FBML而不是iframe选项。 I would like to know if it's possible to use MYSQL with FBML? 我想知道是否可以将MYSQL与FBML一起使用?

When switching over to FBML I get the following error: "Lost connection to MySQL server at 'reading initial communication packet', system error: 113" 切换到FBML时,出现以下错误:“在'读取初始通信数据包'时与MySQL服务器的连接丢失,系统错误:113”

As far as I know this isn't FBML problem. 据我所知这不是FBML问题。 As canvas applications are simple iframes the problem is on your server side. 由于canvas应用程序是简单的iframe,因此问题出在服务器端。 Try to run the script on your server like this: example.com/myfbmlcanvasscript/ If you see the same error you know it isn't because of facebook. 尝试像这样在服务器上运行脚本:example.com/myfbmlcanvasscript/如果您看到相同的错误,您知道不是由于facebook。

The error itself come when something wrong with IP addresses. 当IP地址出现问题时,错误本身就会出现。 I am not sure what it exactly means. 我不确定这到底意味着什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM