install mysql from source
linux mysql 5.6 source code install[@more@]
# isntall cmake
shell>tar -zxvf cmake.tar.gz
shell>./bootstrap
shell>make
shell>make install
# Preconfiguration setup
shell> groupadd mysql
shell> useradd -r -g mysql mysql
# Beginning of source-build specific instructions
shell> tar zxvf mysql-VERSION.tar.gz
shell> cd mysql-VERSION
shell> cmake .
shell> make
shell> make install
# End of source-build specific instructions
# Postinstallation setup
shell> cd /usr/local/mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe --user=mysql &
# Next command is optional
shell> cp support-files/mysql.server /etc/init.d/mysql.server
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/309902/viewspace-1060871/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [MYSQL] mysql source code install(5.7.15)MySql
- Sqoop1.99.6 Install And From MySQL To HdfsOOPMySql
- TensorFlow Build from Source for macOSUIMac
- Build a TensorFlow pip package from sourceUIPackage
- From BIO to NIO series —— BIO source code interpretation
- From BIO to NIO —— NIO source code interpretation 1
- Powershell script to install Windows Updates (msu) from folderWindows
- LeetCode之All Paths From Source to Target(Kotlin)LeetCodeKotlin
- MySQL異常刨析:ata source rejected establishment of connection, message from server: “Too many connectionMySqlServer
- MySQL中的source命令MySql
- install mysql on centosMySqlCentOS
- MYSQL SOURCE報錯 ERROR: ASCIIMySqlErrorASCII
- Install MySQL 5.7 in the DockerMySqlDocker
- MySQL MMM Install DeployMySql
- [Mysql] 2.Mysql 5.7 Install (Windows)MySqlWindows
- Mysql 5.7.22 install for windowsMySqlWindows
- Mysql 5.7.21 install for LinuxMySqlLinux
- yum install mysql5.7MySql
- Broker reports ORA-16858: last communication time from redo source could not beAST
- SELECT INTO FROM mysql Undeclared variableMySql
- 從開源界發現的商機——What Business Can Learn from Open Source
- MySQL 5.7 mysql_install_db工具介紹MySql
- Install mysql(5.6) for Using the MySQL Yum RepositoryMySql
- MySQL Cluster install on Redhat7MySqlRedhat
- aliyun install php apache mysql nginxPHPApacheMySqlNginx
- Reinstall ASM or DB HOME on One RAC Node From the Install Media_864614.1ASM
- Mysql 通過 Mysql_install_db 建立多例項MySql
- Install MySQL(5.6.29) using RPMMySql
- Install mysql5.6 on CentOS5.5MySqlCentOS
- mysql 5.6 for linux install(three types)MySqlLinux
- mysql異常 Install/Remove of the Service Denied!MySqlREM
- /usr/share/mysql/czech/errmsg.sys from *** conflicts with file from package **MySqlPackage
- mysql使用source 命令亂碼問題解決方法MySql
- mysql 5.7.21 CMake Error: The source directory "/data/server/mysql" does not appear to contain CMakMySqlErrorServerAPPAI
- Sqoop1 Install And Test MySQL/PostgreSQLOOPMySql
- MySQL5.6 -> MySQL5.7 跨版本多源複製(Multi-Source Replication)MySql
- mysql source code源代安裝的前提條件requirementMySqlUIREM
- gem install mysql遇到問題。解決方案MySql