<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Проблесма с MySql]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=36908</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=36908&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Проблесма с MySql».]]></description>
		<lastBuildDate>Mon, 01 Dec 2014 12:21:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Проблесма с MySql]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=433815#p433815</link>
			<description><![CDATA[<p>Добрый день, форумчане проблема следующего характера.</p><p>Пытался добавить в mysql хранимую процедурку нечего не получилось.&nbsp; Таблицы и вьюхи нет проблем , а вот процедуры никак.</p><p>Даже </p><p>/*Ответ MySQL: #1558 - Column count of mysql.proc is wrong. Expected 20, found 16. Created with MySQL 50095, now running 50538. Please use mysql_upgrade to fix this erro*/</p><p>Сделал <br /></p><div class="codebox"><pre><code>[root@mail ~]# mysql_upgrade
Looking for &#039;mysql&#039; as: mysql
Looking for &#039;mysqlcheck&#039; as: mysqlcheck
FATAL ERROR: Upgrade failed</code></pre></div><p>Начал капать далее. В логе при перерестарте выпадают следующие ошибки:</p><div class="codebox"><pre><code>141201 14:10:23 [Note] /usr/libexec/mysqld: Normal shutdown</code></pre></div><div class="codebox"><pre><code>141201 14:10:24  InnoDB: Starting shutdown...
141201 14:10:25  InnoDB: Shutdown completed; log sequence number 121047238
141201 14:10:25 [Note] /usr/libexec/mysqld: Shutdown complete</code></pre></div><div class="codebox"><pre><code>141201 14:10:26 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
141201 14:10:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
141201 14:10:27 [Note] Plugin &#039;FEDERATED&#039; is disabled.
/usr/libexec/mysqld: Table &#039;mysql.plugin&#039; doesn&#039;t exist
141201 14:10:27 [ERROR] Can&#039;t open the mysql.plugin table. Please run mysql_upgrade to create it.
141201 14:10:27 InnoDB: The InnoDB memory heap is disabled
141201 14:10:27 InnoDB: Mutexes and rw_locks use InnoDB&#039;s own implementation
141201 14:10:27 InnoDB: Compressed tables use zlib 1.2.3
141201 14:10:27 InnoDB: Using Linux native AIO
141201 14:10:27 InnoDB: Initializing buffer pool, size = 128.0M
141201 14:10:27 InnoDB: Completed initialization of buffer pool
141201 14:10:27 InnoDB: highest supported file format is Barracuda.
141201 14:10:30  InnoDB: Waiting for the background threads to start
141201 14:10:31 InnoDB: 5.5.38 started; log sequence number 121047238
141201 14:10:31 [Note] Server hostname (bind-address): &#039;0.0.0.0&#039;; port: 3306
141201 14:10:31 [Note]   - &#039;0.0.0.0&#039; resolves to &#039;0.0.0.0&#039;;
141201 14:10:31 [Note] Server socket created on IP: &#039;0.0.0.0&#039;.
141201 14:10:31 [ERROR] Missing system table mysql.proxies_priv; please run mysql_upgrade to create it
141201 14:10:31 [ERROR] Can&#039;t open and lock privilege tables: Table &#039;mysql.servers&#039; doesn&#039;t exist
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;events_waits_current&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;events_waits_history&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;events_waits_history_long&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;setup_consumers&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;setup_instruments&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;setup_timers&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;performance_timers&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;threads&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;events_waits_summary_by_thread_by_event_name&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;events_waits_summary_by_instance&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;events_waits_summary_global_by_event_name&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;file_summary_by_event_name&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;file_summary_by_instance&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;mutex_instances&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;rwlock_instances&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;cond_instances&#039; has the wrong structure
141201 14:10:31 [ERROR] Native table &#039;performance_schema&#039;.&#039;file_instances&#039; has the wrong structure
141201 14:10:31 [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50095, now running 50538. Please use mysql_upgrade to fix this error.
141201 14:10:31 [ERROR] mysql.user has no `Event_priv` column at position 29
141201 14:10:31 [ERROR] Cannot open mysql.event
141201 14:10:31 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
141201 14:10:31 [Note] /usr/libexec/mysqld: ready for connections.
Version: &#039;5.5.38&#039;  socket: &#039;/var/lib/mysql/mysql.sock&#039;  port: 3306  MySQL Community Server (GPL) by Remi</code></pre></div><p>Подскажите что делать и куда копать. И что это может быть. В MySQl не силён. Всегда работал с&nbsp; MSSQL</p>]]></description>
			<author><![CDATA[null@example.com (stinggga)]]></author>
			<pubDate>Mon, 01 Dec 2014 12:21:41 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=433815#p433815</guid>
		</item>
	</channel>
</rss>
