Jump to content

mariadb и скрипт mysql_install_db ошибка или .....


Recommended Posts

если вдруг у mariadb файлы конфигурации окажутся 666 вместо 644 то при запуске она ругнётся по публичному 

~ # mysql_install_db --force
Warning: World-writable config file '/opt/etc/mysql/conf.d/50-server.cnf' is ignored Installing MariaDB/MySQL system tables in '/opt/data' ...
Warning: World-writable config file '/opt/etc/mysql/conf.d/50-server.cnf' is ignored

и создаст базу по пути ldata="/opt/data" про писаному в  mysql_install_db. давно мучает вопрос это защита от дурака или ошибка?

Link to comment
Share on other sites

8 часов назад, Meccep45 сказал:

файлы конфигурации окажутся 666 вместо 644

$(INSTALL_DATA) conf/50-server.cnf (см. коммит mariadb: install config files readable for all)

см. INSTALL_DATA INSTALL_CONF

8 часов назад, Meccep45 сказал:

и создаст базу по пути ldata="/opt/data" про писаному в  mysql_install_db. давно мучает вопрос это защита от дурака или ошибка?

перекочевало из rtndev-3x (см. коммит mariadb added)

 

Link to comment
Share on other sites

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...