मैंने अपने मैक पर होमब्री के माध्यम से मारिया डीबी स्थापित किया है। स्थापना के अंत में मैं निम्न त्रुटि हो गई: यदि मैं brew postinstall mariadb
चलानेमारिया डीबी होमब्री त्रुटियों को स्थापित करें
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall mariadb`
मैं:
==> /usr/local/Cellar/mariadb/5.5.34/bin/mysql_install_db --verbose --user=andrew --basedir=/usr/loca
MariaDB is hosted on launchpad; You can find the latest source and
email lists at http://launchpad.net/maria
Please check all of the above before mailing us! And remember, if
you do mail us, you should use the /usr/local/Cellar/mariadb/5.5.34/scripts/mysqlbug script!
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
उपयोगी नहीं है कौन सा! मेरे द्वारा अनुसरण किए जाने वाले ट्यूटोरियल ने मुझे unset TEMPDIR
चलाने के लिए कहा, फिर mysql_install_db --user=mysql --basedir=$(brew --prefix mariadb)
; निम्नलिखित में उन परिणामों चल: समस्या
/usr/local/opt/mariadb/bin/my_print_defaults: Can't read dir of '/usr/local/etc/my.cnf.d' (Errcode: 2)
Fatal error in defaults handling. Program aborted
chown: ./data: Operation not permitted
Cannot change ownership of the database directories to the 'mysql'
user. Check that you have the necessary permissions and try again.
मुझे लगता है /usr/local/etc/my.cnf.d
फ़ोल्डर के साथ कुछ है। मैंने इसे दो चीजों में संदर्भित किया है, लेकिन यह मेरी मशीन पर मौजूद नहीं है। मैंने कुछ अलग-अलग mysql_install_db
आदेशों को आजमाया है जो मैंने अन्य ट्यूटोरियल्स में पाया है, लेकिन वे सभी एक अलग (अलग) त्रुटि संदेश फेंक देते हैं।
किसी भी मदद के लिए धन्यवाद!
जानकारी के लिए धन्यवाद। मैं या तो समझ में नहीं आता लेकिन इस फ़ोल्डर को बनाने के लिए वास्तव में मेरे लिए भी समस्या तय की गई है। –
यह पूरी तरह से काम करता है लेकिन आपको सावधान रहना होगा क्योंकि 'ब्रू प्रून' '/ usr/local/etc/my.cnf.d' को हटा देगा। 'ब्रू प्रून' के बाद इसे मैन्युअल रूप से प्रतिस्थापित करना ठीक है, बस एक हेड-अप देना चाहता था। –