- 论坛徽章:
- 0
|
大虾门,小弟我已经一年没接触了.好多都已经忘记.
求教各位啊.
我以前编译MYSQL的记录.
[root@localhost mysql-5.0.33]#.]#./configure --prefix=/usr/local/mysql --sysconfdir=/usr/local/mysql --without-isam --without-debug --enable-assembler --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --with-mysqld-user=mysql --with-extra-charset=all --with-charset=gbk --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --localstatedir=/usr/local/mysql/data --enable-thread-safe-client
其实make前,用configure来写参数,是否可以直接 --prefix=/usr/local/mysql --sysconfdir=/usr/local/mysql --with-extra-charset=all 只些路径目录和语言这3项就可以了.
上面的参数都是以前优化时候用的 . |
|