5.7.13 version of MySQL database installed under Liunx system

Source: Internet
Author: User

One: Unpack the installation package in the/usr/local directory



II: MySQL directory structure



Three: Add user group MySQL, add user mysql, give/usr/local/mysql directory to MySQL user. Install the MySQL service and generate a temporary password for the first login:sj06rilbkd,>
--Error when installing MySQL, missing dependent library, need to install dependent library
./bin/mysqld:error while loading shared libraries:libaio.so.1:cannot open Shared object file:no such file or directory




Quad: SSL configuration and use of MySQL 5.7

V: Configure the MySQL environment variable
Export java_home=/opt/jdk/jdk1.7.0_80
Export Java_bin=/opt/jdk/jdk1.7.0_80/bin
Export path= $PATH: $JAVA _home/bin
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export Java_home java_bin PATH CLASSPATH

Export m2_home=/opt/maven/apache-maven-3.3.9
Export Path=${path}:${m2_home}/bin

Export Mysql_home=/usr/local/mysql
Export path= $MYSQL _home/bin: $PATH


Six: Start testing MySQL to see if the installation is successful. and modify the initialization password to: Shangxiaofei


Seven: Modify the MySQL configuration file, and the launch is explicitly copied to the ETC directory, and give the launch authorized


Eight: Modify the contents of Mysql.server and/etc/init.d/mysql as

IX: Modify the contents of the/ETC/MY.CNF for

Ten: Because the service mysql start command cannot be run, it is temporarily ignored. Setting allows users to link to any IP client

5.7.13 version of MySQL database installed under Liunx system

Related Article

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.