Install MySQL on Linux/Unix

Source: Internet
Author: User

Installation Steps in Linux:
We recommend that you use the RPM tool to install MySQL Databases in Linux. Currently, the MySQL rpm installation package is created on the SuSE Linux 7.3 system platform, but can also be installed on most other Linux platforms that support RPM and glibc. If you select the General RPM installation package, the RPM will be statically linked to the Linux thread. Follow these steps to perform a standard minimal installation:

Shell> rpm-I MySQL-server-VERSION.i386.rpmshell> rpm-I MySQL-client-VERSION.i386.rpm
After the installation is complete, remember to change the initial default password.
Installation Steps in a Unix environment:
The GNU gunzip tool is required for installation using the. Tar binary file. The basic steps are as follows:
Shell> groupadd mysqlshell> useradd-g mysql mysqlshell> cd/usr/localshell> gunzip </path/to/mysql-VERSION-OS.tar.gz | tar xvf-shell> ln-s full-path-- mysql-VERSION-OS mysqlshell> cd mysqlshell> scripts/mysql_install_db -- user = mysqlshell> chown-R root. shell> chown-R mysql datashell> chgrp-R mysql. shell> bin/mysqld_safe -- user = mysql &
After the installation is complete, remember to change the initial default password. (Bkjia.com tutorial)

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.