{"id":24,"date":"2017-10-07T11:04:00","date_gmt":"2017-10-07T11:04:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/cant-open-mysqlplugin-mysqlupgrade-to"},"modified":"2017-10-07T17:54:41","modified_gmt":"2017-10-07T17:54:41","slug":"cant-open-mysqlplugin","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/mysql\/cant-open-mysqlplugin","title":{"rendered":"Can&#8217;t open the mysql.plugin table. Please run mysql_upgrade to create it : MYSql Error: Solved"},"content":{"rendered":"<p>Mysqld error: can&#8217;t open the mysql.plugin mysql_upgrade to create it &#8211;\u00a0while starting<\/p>\n<h3 style=\"text-align: left;\"><u>Error:\u00a0<\/u><\/h3>\n<div style=\"text-align: left;\">can&#8217;t open the mysql.plugin mysql_upgrade to create it<\/div>\n<div style=\"text-align: left;\"><\/div>\n<p>After upgrading my fedora11 to fedora 12, mysqld server stopped working and I gets the following error at start up<\/p>\n<p>100702 14:52:37 mysqld_safe mysqld from pid file \/var\/run\/mysqld\/mysqld.pid ended<\/p>\n<p>100702 14:53:28 mysqld_safe Starting mysqld daemon with databases from \/var\/lib\/mysql<br \/>\n100702 14:53:28 [Note] Plugin &#8216;ndbcluster&#8217; is disabled.<br \/>\n\/usr\/libexec\/mysqld: Table &#8216;mysql.plugin&#8217; doesn&#8217;t exist<br \/>\n100702 14:53:28 [ERROR] Can&#8217;t open the mysql.plugin table. Please run mysql_upgrade to create it.<br \/>\n100702 14:53:29\u00a0 InnoDB: Started; log sequence number 0 44233<br \/>\n100702 14:53:29 [ERROR] \/usr\/libexec\/mysqld: unknown option &#8216;&#8211;skip-bdb&#8217;<br \/>\n100702 14:53:29 [ERROR] Aborting<\/p>\n<h3><u><br \/>\nSolution:<br \/>\n<\/u><\/h3>\n<div style=\"text-align: left;\">After removing the following obsolete config entries, mysqld started working<\/div>\n<p>and run mysql_upgrade.<\/p>\n<p>#skip-innodb<br \/>\n#skip-bdb<br \/>\n#skip-federated<\/p>\n<p>So I commented out:<br \/>\n<b>#skip-locking<\/b><br \/>\n<b>#skip-innodb<\/b><br \/>\n<b>#skip-bdb<\/b><\/p>\n<p>Now i started MySQL<\/p>\n<p>#service mysqld start<br \/>\nStarting MySQL:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [\u00a0 OK\u00a0 ]<\/p>\n<p>Then I run mysql_upgrade<\/p>\n<p>#mysql_upgrade\u00a0 -uroot -p<br \/>\n#service mysqld restart<br \/>\nAnd now everything is working fine<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mysqld error: can&#8217;t open the mysql.plugin mysql_upgrade to create it &#8211;\u00a0while starting Error:\u00a0 can&#8217;t open the mysql.plugin mysql_upgrade to create it After upgrading my fedora11 to fedora 12, mysqld server&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/mysql\/cant-open-mysqlplugin\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[88],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/24"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":3,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":405,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/24\/revisions\/405"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}