mysql原碼安裝(server和client)
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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7916042/viewspace-928164/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SUSE 11 NFS server/client 安裝配置NFSServerclient
- MySQL client server 協議MySqlclientServer協議
- rhel4 mysql5.1_server_client安裝備紀MySqlServerclient
- CentOS7安裝MySQL ServerCentOSMySqlServer
- mysql cluster 一臺server安裝MySqlServer
- Git server安裝和配置GitServer
- MySQL 5.5 原始碼安裝報錯"[ERROR] Can't start server"MySql原始碼ErrorServer
- Mac安裝壓縮版MySQL ServerMacMySqlServer
- 安裝mysql和mysql workbenchMySql
- 連網安裝mysql與原始碼安裝mysqlMySql原始碼
- 【[Oracle】-【安裝】-Cent OS安裝Oracle ClientOracleclient
- SQL Server解除安裝指令碼SQLServer指令碼
- mysql原始碼安裝MySql原始碼
- 原始碼安裝MySQL原始碼MySql
- MySQL的免安裝和配置修改密碼MySql密碼
- 一臺server上安裝mysql cluster(轉)ServerMySql
- TSM之——CLIENT安裝配置client
- OpenStack Client 安裝及配置client
- Client does not support authentication protocol requested by server; consider upgrading MySQL clientclientProtocolServerIDEMySql
- mysql-proxy does not work with server/client authentication pluginsMySqlServerclientPlugin
- MySQL 5.7.28 原始碼安裝MySql原始碼
- mysql 5.1原始碼安裝MySql原始碼
- mysql-原始碼安裝MySql原始碼
- MYSQL 5.6.27原始碼安裝MySql原始碼
- 【原創】安裝和使用TPCC-MySQL工具遇到的問題MySql
- 【Mysql】Windows下安裝和配置MysqlMySqlWindows
- Oracle instant client在windows下的安裝和使用OracleclientWindows
- mac MYSQL安裝和配置MacMySql
- Ubuntu19 MySQL8 完全解除安裝、安裝和重設密碼UbuntuMySql密碼
- mysql安裝教程8.0.26 安裝mysql的步驟和方法MySql
- Mysql for Linux安裝配置之—— 原始碼安裝MySqlLinux原始碼
- 原始碼包方式安裝Percona server原始碼Server
- 安裝mysql原始碼出錯MySql原始碼
- MySQL 5.6.26原始碼安裝MySql原始碼
- MySQL 5.5 原始碼安裝流程MySql原始碼
- 【原創】Oracle RAC原理和安裝Oracle
- 使用docker安裝mysql和redisDockerMySqlRedis
- MySQL的下載和安裝MySql