Home > Database > Mysql Tutorial > .net-生僻字部署到服务器后无法存入mysql

.net-生僻字部署到服务器后无法存入mysql

WBOY
Release: 2016-06-06 09:44:34
Original
1503 people have browsed it

mysql.netc#

C#程序,.net4.0 数据库mysql5.5,开发端本地测试,生僻字‘俍’能正确存入数据库,字符集数据库和页面都是utf8, 但是部署到服务器端后生僻字‘俍’无法存入,sql语句在执行到execute时就失败,把sql句子直接在服务器端可视化mysql管理工具中执行也ok,检查服务器mysql数据库的字符集字段字符集都是utf8 ,mysql版本也是5.5,所以想应该不是数据库的问题,但是程序在本地测试也没有问题啊,到服务器就不行,哪位大侠能帮忙看一下是什么原因?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template