[MacPorts] howto/MySQL modified

MacPorts Wiki noreply at macports.org
Sun Apr 8 06:54:17 UTC 2018


Page "howto/MySQL" was changed by WolfgangFahl
Diff URL: <https://trac.macports.org/wiki/howto/MySQL?action=diff&version=19>
Revision 19
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MySQL
=========================================================================
--- howto/MySQL (version: 18)
+++ howto/MySQL (version: 19)
@@ -195,6 +195,14 @@
 $ sudo port unload mysql57-server
 }}}
 = Troubleshooting =
+== initialize fails ==
+{{{
+sudo -u mysql /opt/local/lib/mysql57/bin/mysqld --initialize --user=_mysql
+2018-04-08T06:52:45.557302Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
+2018-04-08T06:52:45.557337Z 0 [ERROR] Aborting
+}}
+If you have solution for this please add it here.
+
 == Booting fails and you need the error log ==
 You can check /var/log/system.log for messages regarding the launch of the mysqlserver.
 If it does not boot you might see messages like the one below showing that mysqlserver is respawning. Another indicator is that
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/MySQL>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'howto/MySQL' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list