Problems with installing MySQL

Source: Internet
Author: User

Source: The binary package for the MySQL website is installed.

Before loading MySQL directly into the/usr/local, just want to try to put it somewhere else, and then. It's a tragedy.

Installation steps nothing to say, the official internet has. Some of the execution installations are different because they are placed in different locations:

Installation data:./BIN/MYSQLD--initialize--datadir=/opt/mysql-5.7.16/mysql-files/data--basedir=/opt/mysql-5.7.16--user= Mysql

With Supprot-files under the Mysql.server start incredibly error, I on the day, on the installation of actually can not start.

The fault of the report is also strange, what/usr/local/bin/mysql/mysqld can not find, my configuration there is no/usr/local/bin path ah, wrong a feather ah.

Looking for a long time to find, mysql.server this thing start path is written dead/usr/local/mysql, so start mysqld also can not find.

Finally resolved, 1, can be made by MySQL soft connection to/usr/local under. 2, Mysql.server inside there are basedir and DataDir path, you can modify their own according to the path. 3. Start with Mysqld_safe

Problems with installing MySQL

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.