[MacPorts] howto/MySQL modified

MacPorts Wiki noreply at macports.org
Sun Apr 8 07:57:14 UTC 2018


Page "howto/MySQL" was changed by WolfgangFahl
Diff URL: <https://trac.macports.org/wiki/howto/MySQL?action=diff&version=24>
Revision 24
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MySQL
=========================================================================
--- howto/MySQL (version: 23)
+++ howto/MySQL (version: 24)
@@ -228,7 +228,13 @@
 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.
+You might want to backup the content of your data directory or if you absolutely sure remove it's content 
+e.g.
+{{{
+rm /opt/local/var/db/mysql57/*
+}}}
+and then rerun the mysqld initialize command.
+
 
 == Booting fails and you need the error log ==
 You can check /var/log/system.log for messages regarding the launch of the mysqlserver.
-------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