MySQL Basics-Installation, management

Source: Internet
Author: User

Mysqlinstallation

MySQL for all platforms is https://dev.mysql.com/downloads/mysql/. Pick the version of MySQL Community Server you need and the corresponding platform.

Install MySQL on Linux/unix

The following RPM packages are recommended for installing Mysql,mysql AB on Linux platforms using the RPM package:

    • MySQL -MySQL server. You need this option unless you only want to connect to a MySQL server that is running on another machine.
    • mysql-client -MySQL client program for connecting and operating the MySQL server.
    • Mysql-devel -Libraries and include files, if you want to compile other MySQL clients, such as Perl modules, you need to install the RPM package.
    • mysql-shared -The package contains some languages and applications that require dynamic loading of shared libraries (libmysqlclient.so*), using MySQL.
    • mysql-bench -Baseline and performance testing tools for MySQL database servers.

Before installing, we can detect whether the system comes with MySQL installed:

- | grep MySQL

If you have a system installed, you can choose to uninstall:

RPM-E MySQL //  Normal Delete mode rpm-e--nodeps mysql //  Brute Force Delete mode, if you use the above command to delete, prompted to have other dependent files, then use this command can be Brute Force removal

Install MySQL:

Next we install MySQL under the CENTOS7 system using the Yum command, it is important to note that the CentOS 7 version of the MySQL database has been removed from the default program list, so before installing we need to go to the official website to download the Yum Resource pack: Https://dev.mysql . com/downloads/repo/yum/

MySQL Basics-Installation, management

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.