One: the preparatory work
First check if there are rpm installed MySQL and cmake if there is to Rpm-e uninstall
RPM Installed ncurses, if not installed to be installed with RPM-IVH
650) this.width=650; "src=" http://s7.sinaimg.cn/mw690/006OWCmEzy7cnuS0EqG76&690 "Name=" Image_operate_ 95861499152015037 "alt=" MySQL database service building "title=" MySQL database service Build "style=" Margin:0px;padding:0px;border:0px;list-style: none; "/>
2. Source code compile and install MySQL
650) this.width=650; "src=" http://s9.sinaimg.cn/mw690/006OWCmEzy7cnuVvhZSd8&690 "Name=" Image_operate_ 74501499152193688 "alt=" MySQL database service building "title=" MySQL database service Build "style=" Margin:0px;padding:0px;border:0px;list-style: none; "/>
3. Other adjustments after installation
After the installation is complete, you will need
To set permissions on a database directory
Setting up a configuration file
Initializing the database
Setting environment variables
650) this.width=650; "src=" http://s14.sinaimg.cn/bmiddle/006OWCmEzy7cnv3epbvcd&690 "Name=" Image_operate_ 70791499152191520 "alt=" MySQL database service building "title=" MySQL database service Build "style=" Margin:0px;padding:0px;border:0px;list-style: none; "/>
4. Adding system Services
650) this.width=650; "src=" http://s12.sinaimg.cn/mw690/006OWCmEzy7cnv6hyjxfb&690 "Name=" Image_operate_ 62671499152207777 "alt=" MySQL database service building "title=" MySQL database service Build "style=" Margin:0px;padding:0px;border:0px;list-style: none; "/>
This article from "[email protected] yan Xiao Crazy" blog, reproduced please contact the author!
MySQL Database service Building