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