[MacPorts] howto/MySQL modified
MacPorts
noreply at macports.org
Fri Jun 24 20:29:53 PDT 2016
Page "howto/MySQL" was changed by aoeumacports at brinckerhoff.org
Diff URL: <https://trac.macports.org/wiki/howto/MySQL?action=diff&version=10>
Revision 10
Comment: Tried to resolve questioner's question by providing detail on port select
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MySQL
=========================================================================
--- howto/MySQL (version: 9)
+++ howto/MySQL (version: 10)
@@ -35,28 +35,20 @@
}}}
= Step 2: Create a database =
-{{{
- '''NOTE:''' This needs a definition of the "Port Select" mechanism. i.e. explain what it does.
-It does NOT produce the equivalent path of the path command below.
-Which begs the question -- does the "OR" need to be "AND" or is the path command completely redundant.
-I have assumed "AND" as the PATH needed to be set for me.
-Does this make links in /opt/local/bin for /opt/local/lib/mysql56/bin/ files?
-$ sudo port select mysql mysql56
+Also, mysql56 now uses the `''port select''` mechanism to manage the creation of symlinks in
+/opt/local/bin. Using `port select` will install a link for exactly one of the available
+installations. Alternatively, you may simply add the path containing the desired mysql
+installation to your PATH.
-generates the output:
+Use one of these two:
-Selecting 'mysql56' for 'mysql' succeeded. 'mysql56' is now active.
-
-but makes no changes to the PATH.
-}}}
-
-Also, mysql56 now uses the `''port select''` mechanism, so you will have to run one of the following to get the mysql commands in your PATH: either:
{{{
$ sudo port select mysql mysql56
$ export PATH=$PATH:/opt/local/lib/mysql56/bin
}}}
+
Once you have done at least one of the two previous commands, set up the main database:
{{{
-------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 OS X
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 .
More information about the macports-changes
mailing list