A simple MySQL database installation method _ MySQL

Source: Internet
Author: User
A particularly simple MySQL database installation method this Forum article (Saidi network technology community) mainly introduces a simple MySQL database installation method. for details, refer to the following:

Although there are many articles on installing the MySQL database, I think it is difficult for beginners to write a simple method for your reference. If anything is wrong, please advise.

Var isMinNS4 = (navigator. appName. indexOf ("Netscape")> = 0 & parseFloat (navigator. appVersion)> = 4 )? 1: 0; var isMinIE4 = (do ***** ent. all )? 1: 0; var isMinIE5 = (isMinIE4 & navigator. appVersion. indexOf ("5.")> = 0? 1: 0; // var FONTSIZE = 2 var fs = 'small'; if (1 = 2) {fs = 'Big ';} if (isMinIE4) do ***** ent. write (""); if (isMinNS4) do ***** ent. write (""); 1. download mysql -XXX.tar.gz first

2. unzip the tar zxvf mysql-3.22.32.tar.gz

3. cd mysql-3.22.32

4. the installation directory is not fixed:./configure -- prefix =/your path/mysql

5. make

6. make install

7. cd scripts

8 ../mysql_install_db

9. cd/usr/local/mysql/share/mysql/

10. chmod 611 mysql. server

11. cp/usr/local/mysql/scripts/mysql. server/usr/local/mysql/bin

12./mysql. server start

13. use Kwrite to open the/etc/rc. d/rc. local file and add the following lines to automatically execute MySQL during startup.

/Usr/local/mysql/share/mysql. server start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.