摘要:
//reject overly long 2 byte sequences, as well as characters above U+10000 and replace with ?$some_string = preg_replace('/[x00-x08x10x0Bx0Cx0E-x19x7F... 阅读全文
摘要:
问题:在ubuntu server 上使用apt-get 安装完 mysql 使用 load data infile 出现错误,错误代码如下:ERROR 1148 (42000): The used command is not allowed with this MySQL version这是由于... 阅读全文
摘要:
注意编码一致性,如:我的数据库是utf-8编码,csv文档的编码也是utf-8.导入使用LOAD DATA LOCAL INFILE 详细用法请参看文档或者书籍。mysql user表结构:+----------+-------------+------+-----+---------+------... 阅读全文