mysql源码如何安装

这篇文章给大家分享的是有关MySQL源码如何安装的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。

北仑ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为创新互联公司的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:18982081108(备注:SSL证书合作)期待与您的合作!

CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql --sysconfdir=/etc
--with-unix-socket-path=/var/run/mysql/mysql.sock
--enable-thread-safe-client
--with-named-thread-libs=-lpthread
--enable-local-infile --with-charset=utf8
--with-extra-charsets=utf8 --enable-assembler
--with-plugin-partition
--without-ndb-debug
--without-debug --without-bench --without-readline
--libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include

make
mak install

cp support-files/mysql.server /etc/init.d/mysql
chmod 755 /etc/init.d/mysql
chkconfig --add mysql
chkconfig --level 2345 mysql on
PATH=/usr/local/mysql/bin:$PATH
echo "PATH=/usr/local/mysql/bin:$PATH" >> /etc/profile
PATH=/usr/local/mysql/bin:$PATH
export PATH


安装客户端

CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql515  --without-server
--libdir=/usr/lib --includedir=/usr/include

make
mak install

感谢各位的阅读!关于“mysql源码如何安装”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!


当前文章:mysql源码如何安装
文章地址:http://hxwzsj.com/article/jcgpih.html

其他资讯

Copyright © 2025 青羊区翔捷宏鑫字牌设计制作工作室(个体工商户) All Rights Reserved 蜀ICP备2025123194号-14
友情链接: 营销型网站建设 网站设计制作报价 阿坝网站设计 成都网站建设公司 企业手机网站建设 达州网站设计 高端网站设计 成都响应式网站建设 外贸网站设计方案 网站建设 成都网站建设公司 高端网站设计推广 高端定制网站设计 网站制作 定制网站设计 成都网站建设 盐亭网站设计 成都网站制作 成都网站建设 高端网站设计 成都网站建设公司 成都网站建设公司