mysql导入乱码问题,centOS

CREATE DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
mysql -uroot -p --default-character-set=utf8 dbname < bak.sql
mysql -u root -p --default-character-set = utf8;

centos 开启memcached
yum -y install memcached
yum install php-devel
yum install zlib-devel
wget http://pecl.php.net/get/memcache-3.0.8.tgz 下载php扩展

tar vxzf memcache-3.0.8.tgz
cd memcache-***
phpize
./configure --with-php-config=/usr/bin/php-config --with-libmemcached-dir=/usr/lib64/php/modules/
make && make install

配置php.ini

extension = memcache.so

上一篇:windows red5相关


下一篇:maven 本地仓库nexus的安装