After installing MySQL today, an error occurred on the open:
1. Open the appropriate folder to view the error message:
2. Open the error message file to see the error reason: Plugin ' federated ' is disabled. /usr/sbin/mysqld:table ' mysql.plugin ' doesn ' t exist
3, ' mysql.plugin ' does not exist because after the new installation of MySQL service, it is generally necessary to perform database initialization operations, resulting in a permission-related table, execute the command as follows:
/usr/bin/mysql_install_db--user=mysql
4, if the successful execution of the command is of course the best, if the following error is reported:
Workaround: Install the autoconf Library
Yum-y Install autoconf
5, then execute the database to open the command, it will succeed!!!
Service MySQL Start
Tip: Database installation is best installed in usr/local/, because many of the default items are pointed to this folder.
MySQL error resolved: Plugin ' federated ' is disabled. /usr/sbin/mysqld:table ' mysql.plugin ' doesn ' t exist