Problem: Plugin ‘FEDERATED’ is disabled when installing mysql on linux.
/usr/sbin/mysqld: Table ‘mysql.plugin’ doesn’t exist.
[root@hadoop11 mysql]# more hadoop11.err
160714 14:51:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160714 14:51:30 [Note] Plugin ‘FEDERATED’ is disabled.
/usr/sbin/mysqld: Table ‘mysql.plugin’ doesn’t exist
160714 14:51:30 [ERROR] Can’t open the mysql.plugin table. Please run mysql_upgrade to create it.
160714 14:51:30 InnoDB: The InnoDB memory heap is disabled
160714 14:51:30 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160714 14:51:30 InnoDB: Compressed tables use zlib 1.2.3
160714 14:51:30 InnoDB: Using Linux native AIO
160714 14:51:30 InnoDB: Initializing buffer pool, size = 128.0M
160714 14:51:30 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
Cause.
The reason why table ‘mysql.host’ does not exist is because after a new installation of the mysql service, it is generally necessary to perform database initialization operations , thus generating a table related to permissions, execute the following command.
/usr/bin/mysql_install_db –user=mysql
Note: The mysql_install_db in the above command is related to the location of your installed mysql service, if you don’t know where it is, you can use find/-name mysql_install_db to find its location, and then execute the above command.
[root@hadoop11 mysql]# find/-name mysql_install_db
/usr/bin/mysql_install_db
Similar Posts:
- How to Solve MYSQL Error: Plugin ‘FEDERATED’ is disabled. /usr/sbin/mysqld: Table ‘mysql.plugin’…
- Mysql Auto Downtime ERROR: InnoDB: Cannot allocate memory for the buffer pool [Solved]
- How to Solve Mysql Error 1206: The total number of locks exceeds the lock table size
- [How to Solve] Starting MySQL.. ERROR! The server quit without updating PID file
- mysqlmmap(137428992 bytes) failed; errno 12,Cannot allocate memory for the buffer pool
- MySQL installation error — failed to find valid data directory
- MySQL 5.7 installation, mysql. Plugin ‘doesn’t exist error resolution
- MySQL Error: The server quit without updating PID file [How to Solve]
- How to Solve MYSQL Startup Error: “MySQL Daemon failed to start”
- ERROR 2006 (HY000): MySQL server has gone away No