вот это и плохоblackdog писал(а):Права на папку вроде у рута
мускулю - мускулево
вот это и плохоblackdog писал(а):Права на папку вроде у рута
Дак отожеж...Infernal Flame писал(а):blackdog
да пусть ругается... хуже ей уже не будет.... хотя, кто ее, пакетноориентированную, знает...
Ребят,пожалуйста-если можно то с примерами команд...Я хз какие у мускуля права.755 то я еще знаю,а вот дальше-не особоInfernal Flame писал(а):вот это и плохоblackdog писал(а):Права на папку вроде у рута
мускулю - мускулево
почему бы и нет? хуже мне кажется уже не сделает... хотя как там с пакетниками быть - не ко мне....blackdog писал(а):То есть разрешить повредить пакеты и удалить мускул,потом перегружать или сразу его поставить по новой?
blackdog писал(а):Ребят,пожалуйста-если можно то с примерами команд...Я хз какие у мускуля права.755 то я еще знаю,а вот дальше-не особо
Код: Выделить всё
chown mysql:mysql /path/to/folder
Infernal Flame писал(а):почему бы и нет? хуже мне кажется уже не сделает... хотя как там с пакетниками быть - не ко мне....blackdog писал(а):То есть разрешить повредить пакеты и удалить мускул,потом перегружать или сразу его поставить по новой?
blackdog писал(а):Ребят,пожалуйста-если можно то с примерами команд...Я хз какие у мускуля права.755 то я еще знаю,а вот дальше-не особо- типа такого... путь к папке есессно нужен реальныйКод: Выделить всё
chown mysql:mysql /path/to/folder
Код: Выделить всё
linux-white:~ # chown mysql:mysql /usr/share/mariadb/
linux-white:~ # systemctl start mysql.service
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
linux-white:~ # systemctl status mysql.service
mysql.service - LSB: Start the MySQL database server
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Пн 2014-09-15 18:19:32 KGT; 5s ago
Process: 7424 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
сен 15 18:19:32 linux-white mysql[7424]: Starting service MySQL warning: /var/run/mysql/mysql.sock didn't appear within 30 seconds
сен 15 18:19:32 linux-white systemd[1]: mysql.service: control process exited, code=exited status=1
сен 15 18:19:32 linux-white systemd[1]: Failed to start LSB: Start the MySQL database server.
сен 15 18:19:32 linux-white systemd[1]: Unit mysql.service entered failed state.
linux-white:~ #
Код: Выделить всё
linux-white:~ # systemctl start mysql.service
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
linux-white:~ # systemctl status mysql.service
mysql.service - LSB: Start the MySQL database server
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Пн 2014-09-15 18:32:05 KGT; 28s ago
Process: 4967 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
сен 15 18:31:35 linux-white mysql[4967]: Will update MySQL now, if you encounter any problems, please read following file:
сен 15 18:31:35 linux-white mysql[4967]: /usr/share/doc/packages/mysql-community-server/README.SuSE
сен 15 18:31:35 linux-white mysql[4967]: Log files inconsistency, please merge following files manually:
сен 15 18:31:35 linux-white mysql[4967]: Running protected MySQL...
сен 15 18:32:05 linux-white mysql[4967]: error: /var/tmp/mysql-protected.W8ykrl/mysql.sock file didn't appeared...
сен 15 18:32:05 linux-white mysql[4967]: Try checking "/var/log/mysql/mysqld-upgrade-run.log"...
сен 15 18:32:05 linux-white mysql[4967]: ..failed
сен 15 18:32:05 linux-white systemd[1]: mysql.service: control process exited, code=exited status=1
сен 15 18:32:05 linux-white systemd[1]: Failed to start LSB: Start the MySQL database server.
сен 15 18:32:05 linux-white systemd[1]: Unit mysql.service entered failed state.
linux-white:~ # zypper update mysql
Загрузка данных о репозиториях...
Чтение установленных пакетов...
'mysql' не найдено в именах пакетов. Поиск возможностей.
Разрешение зависимостей пакетов...
Нечего выполнять.
linux-white:~ #
Код: Выделить всё
Mon Sep 15 18:31:35 KGT 2014 - upgrading MySQL...
Will update MySQL now, if you encounter any problems, please read following file:
/usr/share/doc/packages/mysql-community-server/README.SuSE
Running protected MySQL...
error: /var/tmp/mysql-protected.W8ykrl/mysql.sock file didn't appeared...
Try checking "/var/log/mysql/mysqld-upgrade-run.log"...
Код: Выделить всё
140915 18:31:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2014-09-15 18:31:36 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-09-15 18:31:36 5332 [ERROR] Can't find messagefile '/usr/share/mysql-community-server/errmsg.sys'
2014-09-15 18:31:36 5332 [Note] Plugin 'FEDERATED' is disabled.
2014-09-15 18:31:36 5332 [ERROR]
2014-09-15 18:31:36 5332 [ERROR] Couldn't load plugin named 'archive' with soname 'ha_archive.so'.
2014-09-15 18:31:36 5332 [Note] InnoDB: The InnoDB memory heap is disabled
2014-09-15 18:31:36 5332 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-09-15 18:31:36 5332 [Note] InnoDB: Compressed tables use zlib 1.2.8
2014-09-15 18:31:36 5332 [Note] InnoDB: Using Linux native AIO
2014-09-15 18:31:36 5332 [Note] InnoDB: Not using CPU crc32 instructions
2014-09-15 18:31:36 5332 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-09-15 18:31:36 5332 [Note] InnoDB: Completed initialization of buffer pool
2014-09-15 18:31:36 5332 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2014-09-15 18:31:36 5332 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2014-09-15 18:31:36 5332 [Note] InnoDB: Database physically writes the file full: wait...
2014-09-15 18:31:36 5332 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2014-09-15 18:31:37 5332 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2014-09-15 18:31:38 5332 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2014-09-15 18:31:38 5332 [Warning] InnoDB: New log files created, LSN=45781
2014-09-15 18:31:38 5332 [Note] InnoDB: Doublewrite buffer not found: creating new
2014-09-15 18:31:38 5332 [Note] InnoDB: Doublewrite buffer created
2014-09-15 18:31:38 5332 [Note] InnoDB: 128 rollback segment(s) are active.
2014-09-15 18:31:38 5332 [Warning] InnoDB: Creating foreign key constraint system tables.
2014-09-15 18:31:38 5332 [Note] InnoDB: Foreign key constraint system tables created
2014-09-15 18:31:38 5332 [Note] InnoDB: Creating tablespace and datafile system tables.
2014-09-15 18:31:38 5332 [Note] InnoDB: Tablespace and datafile system tables created.
2014-09-15 18:31:38 5332 [Note] InnoDB: Waiting for purge to start
2014-09-15 18:31:38 5332 [Note] InnoDB: 5.6.12 started; log sequence number 0
2014-09-15 18:31:38 5332 [ERROR] Aborting
Коллего, ошибку ты выцепил правильно, ток вот курнул не туда.Infernal Flame писал(а):смотрим что там за фигня в /usr/share/mariadb/ указана и комментируем...blackdog писал(а):140915 17:48:05 [Warning] An old style --language or -lc-message-dir value with language specific part detected: /usr/share/mariadb/
140915 17:48:05 [Warning] Use --lc-messages-dir without language specific part instead.
права на папку надо проверить...blackdog писал(а):[ERROR] Can't find messagefile '/usr/share/mariadb/errmsg.sys'
А иначе и быть не может - в папке этого файла нет. Тупо нет - он в подпапках с названием языка, отдельный файл для каждой локали. Нужно былоblackdog писал(а):[ERROR] Can't find messagefile '/usr/share/mariadb/errmsg.sys'
Код: Выделить всё
ln -sf /usr/share/mariadb/english/errmsg.sys /usr/share/mariadb/errmsg.sys
ставь назад mariadb и лечи как я описал выше, либо удаляй все содержимое /var/lib/mysql и перезапускай сервер - в БД осталась запись о загрузке плагина, который есть в mariadb, но отсутствует в mysql.2014-09-15 18:31:36 5332 [ERROR] Couldn't load plugin named 'archive' with soname 'ha_archive.so'.
Код: Выделить всё
linux-white:~ # systemctl status mysql.service
mysql.service - LSB: Start the MySQL database server
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Вт 2014-09-16 08:42:31 KGT; 13s ago
Process: 3793 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
сен 16 08:42:28 linux-white mysql[3793]: 2014-09-16 08:42:28 3864 [ERROR] Aborting
сен 16 08:42:28 linux-white mysql[3793]: 2014-09-16 08:42:28 3864 [Note] Binl...nd
сен 16 08:42:28 linux-white mysql[3793]: 2014-09-16 08:42:28 3864 [Note] Inno...g.
сен 16 08:42:28 linux-white mysql[3793]: 2014-09-16 08:42:28 3864 [Note] Inno.....
сен 16 08:42:31 linux-white mysql[3793]: 2014-09-16 08:42:31 3864 [Note] Inno...07
сен 16 08:42:31 linux-white mysql[3793]: 2014-09-16 08:42:31 3864 [Note]
сен 16 08:42:31 linux-white mysql[3793]: ..failed
сен 16 08:42:31 linux-white systemd[1]: mysql.service: control process exited...=1
сен 16 08:42:31 linux-white systemd[1]: Failed to start LSB: Start the MySQL ...r.
сен 16 08:42:31 linux-white systemd[1]: Unit mysql.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
linux-white:~ #
Код: Выделить всё
linux-white:~ # systemctl status mysql.service
mysql.service - LSB: Start the MySQL database server
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Вт 2014-09-16 08:46:22 KGT; 3s ago
Process: 4024 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
сен 16 08:45:52 linux-white mysql[4024]: Will update MySQL now, if you encoun...e:
сен 16 08:45:52 linux-white mysql[4024]: /usr/share/doc/packages/mysql-commun...SE
сен 16 08:45:52 linux-white mysql[4024]: Log files inconsistency, please merg...y:
сен 16 08:45:52 linux-white mysql[4024]: Running protected MySQL...
сен 16 08:46:22 linux-white mysql[4024]: error: /var/tmp/mysql-protected.KfM5.....
сен 16 08:46:22 linux-white mysql[4024]: Try checking "/var/log/mysql/mysqld-.....
сен 16 08:46:22 linux-white mysql[4024]: ..failed
сен 16 08:46:22 linux-white systemd[1]: mysql.service: control process exited...=1
сен 16 08:46:22 linux-white systemd[1]: Failed to start LSB: Start the MySQL ...r.
сен 16 08:46:22 linux-white systemd[1]: Unit mysql.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
linux-white:~ #
Код: Выделить всё
140916 08:45:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2014-09-16 08:45:53 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-09-16 08:45:53 4410 [ERROR] Can't find messagefile '/usr/share/mysql-community-server/errmsg.sys'
2014-09-16 08:45:53 4410 [Note] Plugin 'FEDERATED' is disabled.
2014-09-16 08:45:53 4410 [ERROR]
2014-09-16 08:45:53 4410 [ERROR] Couldn't load plugin named 'archive' with soname 'ha_archive.so'.
2014-09-16 08:45:53 4410 [Note] InnoDB: The InnoDB memory heap is disabled
2014-09-16 08:45:53 4410 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-09-16 08:45:53 4410 [Note] InnoDB: Compressed tables use zlib 1.2.8
2014-09-16 08:45:53 4410 [Note] InnoDB: Using Linux native AIO
2014-09-16 08:45:54 4410 [Note] InnoDB: Not using CPU crc32 instructions
2014-09-16 08:45:54 4410 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-09-16 08:45:54 4410 [Note] InnoDB: Completed initialization of buffer pool
2014-09-16 08:45:54 4410 [Note] InnoDB: Highest supported file format is Barracuda.
2014-09-16 08:45:54 4410 [Note] InnoDB: 128 rollback segment(s) are active.
2014-09-16 08:45:54 4410 [Note] InnoDB: Waiting for purge to start
2014-09-16 08:45:54 4410 [Note] InnoDB: 5.6.12 started; log sequence number 1600607
2014-09-16 08:45:54 4410 [ERROR] Aborting
2014-09-16 08:45:54 4410 [Note] Binlog end
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'partition'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'ARCHIVE'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_METRICS'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_CMPMEM'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_CMP'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_LOCKS'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'INNODB_TRX'
2014-09-16 08:45:54 4410 [Note] Shutting down plugin 'InnoDB'
2014-09-16 08:45:54 4410 [Note] InnoDB: FTS optimize thread exiting.
2014-09-16 08:45:54 4410 [Note] InnoDB: Starting shutdown...
2014-09-16 08:45:56 4410 [Note] InnoDB: Shutdown completed; log sequence number 1600617
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'BLACKHOLE'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'MEMORY'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'CSV'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'MRG_MYISAM'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'MyISAM'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'sha256_password'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'mysql_old_password'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'mysql_native_password'
2014-09-16 08:45:56 4410 [Note] Shutting down plugin 'binlog'
2014-09-16 08:45:56 4410 [Note]
140916 08:45:56 mysqld_safe mysqld from pid file /var/tmp/mysql-protected.KfM5P5/mysqld.pid ended
Код: Выделить всё
linux-white:~ # mysqld_safe &
[1] 5194
linux-white:~ # 140916 09:01:30 mysqld_safe Logging to '/var/lib/mysql/linux-white.err'.
140916 09:01:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140916 09:01:33 mysqld_safe mysqld from pid file /var/lib/mysql/linux-white.pid ended
Код: Выделить всё
140916 09:01:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2014-09-16 09:01:31 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-09-16 09:01:31 5358 [ERROR] Can't find messagefile '/usr/share/mysql-community-server/errmsg.sys'
2014-09-16 09:01:31 5358 [Note] Plugin 'FEDERATED' is disabled.
2014-09-16 09:01:31 5358 [ERROR]
2014-09-16 09:01:31 5358 [ERROR] Couldn't load plugin named 'archive' with soname 'ha_archive.so'.
/usr/sbin/mysqld: Unknown error 1146
2014-09-16 09:01:31 5358 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2014-09-16 09:01:31 5358 [Note] InnoDB: The InnoDB memory heap is disabled
2014-09-16 09:01:31 5358 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-09-16 09:01:31 5358 [Note] InnoDB: Compressed tables use zlib 1.2.8
2014-09-16 09:01:31 5358 [Note] InnoDB: Using Linux native AIO
2014-09-16 09:01:31 5358 [Note] InnoDB: Not using CPU crc32 instructions
2014-09-16 09:01:31 5358 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-09-16 09:01:31 5358 [Note] InnoDB: Completed initialization of buffer pool
2014-09-16 09:01:31 5358 [Note] InnoDB: Highest supported file format is Barracuda.
2014-09-16 09:01:31 5358 [Note] InnoDB: 128 rollback segment(s) are active.
2014-09-16 09:01:31 5358 [Note] InnoDB: Waiting for purge to start
2014-09-16 09:01:31 5358 [Note] InnoDB: 5.6.12 started; log sequence number 1600637
2014-09-16 09:01:31 5358 [ERROR] Aborting
2014-09-16 09:01:31 5358 [Note] Binlog end
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'partition'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'ARCHIVE'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_METRICS'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_CMPMEM'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_CMP'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_LOCKS'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'INNODB_TRX'
2014-09-16 09:01:31 5358 [Note] Shutting down plugin 'InnoDB'
2014-09-16 09:01:31 5358 [Note] InnoDB: FTS optimize thread exiting.
2014-09-16 09:01:31 5358 [Note] InnoDB: Starting shutdown...
2014-09-16 09:01:33 5358 [Note] InnoDB: Shutdown completed; log sequence number 1600647
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'BLACKHOLE'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'MEMORY'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'CSV'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'MRG_MYISAM'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'MyISAM'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'sha256_password'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'mysql_old_password'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'mysql_native_password'
2014-09-16 09:01:33 5358 [Note] Shutting down plugin 'binlog'
2014-09-16 09:01:33 5358 [Note]
140916 09:01:33 mysqld_safe mysqld from pid file /var/lib/mysql/linux-white.pid ended
Код: Выделить всё
2014-09-16 09:01:31 5358 [ERROR] Couldn't load plugin named 'archive' with soname 'ha_archive.so'.
/usr/sbin/mysqld: Unknown error 1146
2014-09-16 09:01:31 5358 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
Код: Выделить всё
linux-white:~ # mysql_upgrade
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
FATAL ERROR: Upgrade failed
linux-white:~ #
Код: Выделить всё
systemctl stop mysql.service
rm -rf /var/lib/mysql/*
mysql_install_db
chown -R mysql:mysql /var/lib/mysql
ln -sf /usr/share/mysql-community-server/english/errmsg.sys /usr/share/mysql-community-server/errmsg.sys
systemctl start mysql.service