1. 配置为:./configure \--prefix=/home/zengyf/local/mysql-5.1.30 \--enable-local-infile \--with-unix-socket-path=/home/z
1. 配置为:
./configure \
--prefix=/home/zengyf/local/mysql-5.1.30 \
--enable-local-infile \
--with-unix-socket-path=/home/zengyf/local/mysql-5.1.30/var/mysql.sock \
--with-tcp-port=5506 \
--enable-thread-safe-client \
--with-mysqld-user=root \
--with-extra-charsets=gb2312,big5,gbk,binary,ascii,latin1 \
--with-charset=utf8 \
--with-federated-storage-engine \
--with-partition
with-partition可能会有警告,但是实际在编译时已经起了作用了。
2. make--> make install --> make clean
3. 安装数据库mysql_install_db
4. 把数据库的配置文件share/mysql/下的.cnf拷贝一份/var/my.cnf.
5. 启动数据库mysqld_safe &
6. 以root用户登录msyql,验证partition是否可用:
SHOW VARIABLES LIKE '%partition%';
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号