1.创建table的时候使用utf8编码 create table tablename ( id int NOT NULL, content var_char(250) NOT NULL, CONSTRAINT tablename PRIMARY_KEY(id) ) character set = utf8; 2.修改已经有的table的编码 alter table table_name convert to character set utf8; alter table entrie…
整出错信息是在./configure阶段Basic XLib functionality test failed!You might need to modify the include and library search paths by editingQMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/zhu/Qt/qt-x11-opensource-src-4.5.2/mkspecs/linux-g++ 还是老办法,以不变应万变.进入文件夹con…
from : http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-ubuntu-12.04-lts 1 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might diff…
Preface MySQL use character set & collation to organize the different charater.It provides a flexible way in setting individual character set on a database,a table even on a single column of table.Each character set has a series of collations…
1. How to export the database of mysql go to command line, use "CMD" cd C:\Program Files\MySQL\MySQL Server 5.5\bin mysqldump -hx.x.x.x(IP) -P3306 -uroot -pxxx DB_NLS > d:/db_nls.sql finish the export, sql file is db_nls.sql 2. How to import…
按照下面的步骤能成功,亲测.转帖,做笔记 编译php-5.5-6的mysql支持,出现Cannot find MySQL header files under /usr/include/mysql. Note that the MySQL client library is not bundled anymore!错误!解决方法如下: [root@localhost php-5.5.6]# ./configure --prefix=/usr/local/php --with-config-fil…
2013年11月22日 11:25:41 Linux centos 6.3 最小化安装 mysql 5.5 php 5.4 安装PHP时只是 ./configure --prefix=/**** 并没有其它的设置,随后又去安装的其它扩展(纯属瞎折腾,学习怎么用Linux) 在安装mysql和mysqli的扩展时的命令还不一样 生成mysql.so cd php-/include/ext #源码解压包的扩展目录 cd mysql #进入mysql扩展 /usr/local/lamp/php54/b…