MySQLi-服务器返回未知类型246 [英] MySQLi - Server returned unknown type 246
本文介绍了MySQLi-服务器返回未知类型246的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在一个内容托管的网站上工作,该网站在localhost上运行良好.我刚刚将文件上传到了我的mediatemple服务器.并且看到了一些非常有趣的结果:
I've been working on a content managed site that's been working fine on localhost. I've just uploaded the files to my mediatemple server.. and am seeing some pretty interesting results:
警告:mysqli_stmt :: bind_result()[mysqli-stmt.bind-result]:服务器返回未知类型246.您的客户端库可能与您使用的服务器版本不兼容!
以前有没有人看过这样的东西.我完全陷入了困境!在localhost(MAMP)上运行良好,但在实时服务器上会中断:-(.
Has anyone ever seen anything like this before. I'm completely stumped! Works great on localhost (MAMP), but breaks on the live server :-(.
非常感谢!
推荐答案
在数据库中将DECIMAL类型更改为FLOAT,直到受支持为止.
Change your DECIMAL type to FLOAT in the database until it's supported.
这篇关于MySQLi-服务器返回未知类型246的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文