页面

从源码统安装MySQL

1. 获取源代码
2. 配置参数:
./configure  --prefix=/home/tangyi/bin --with-charset=utf8 --with-extra-charsets=all --with-mysqld-user=tangyi  --localstatedir=/home/tangyi/bin/var --sysconfdir=/home/tangyi/bin/etc  --with-archive-storage-engine --with-blackhole-storage-engine --with-csv-storage-engine --with-example-storage-engine --with-federated-storage-engine  --with-innodb
3. 编译: make -j 9
4. 创建mysql系统库

没有评论: