Jump to content

Recommended Posts

Posted

в пакете 10.9.8-MariaDB есть ошибка, не запускается mysql_upgrade. пишет ошибку FATAL ERROR: Can't execute 'mariadb-check' .

ссылается на mariadb-check, а в системе есть симлинк на mariadbcheck. временный метод решения создать симлинк

ln -sf /opt/bin/mysqlcheck /opt/bin/mariadb-check

mysql_upgrade снова работает.

  • Upvote 1
Posted (edited)

Надо owrt`шникам "в глаз плюнуть", версии обновляют, а за содержимым не следят.

https://github.com/openwrt/packages/blob/master/utils/mariadb/Makefile#L464-L467

---

собрано

➜ ls -l *check* | cut -d' ' -f-2,4-
-rwxr-xr-x 1 3620128 фев 23 11:32 innochecksum
-rwxr-xr-x 1 3861704 фев 23 11:32 mariadb-check
lrwxrwxrwx 1      13 фев 23 11:36 mysqlcheck -> mariadb-check

упаковано

➜ ls -l *check* | cut -d' ' -f-2,4-
lrwxrwxrwx 1      10 фев 23 11:36 mariadbcheck -> mysqlcheck
-rwxr-xr-x 1 3730088 фев 23 11:36 mysqlcheck

 

Edited by TheBB
add
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.