Changes between Version 9 and Version 10 of howto/MySQL


Ignore:
Timestamp:
Jun 25, 2016, 3:29:51 AM (8 years ago)
Author:
aoeumacports@…
Comment:

Tried to resolve questioner's question by providing detail on port select

Legend:

Unmodified
Added
Removed
Modified
  • howto/MySQL

    v9 v10  
    3636
    3737= Step 2: Create a database =
    38 {{{
    39  '''NOTE:''' This needs a definition of the "Port Select" mechanism. i.e. explain what it does.
    40 It does NOT produce the equivalent path of the path command below.
    41 Which begs the question -- does the "OR" need to be "AND" or is the path command completely redundant.
    42 I have assumed "AND" as the PATH needed to be set for me.
    43 Does this make links in /opt/local/bin for /opt/local/lib/mysql56/bin/ files?
    4438
    45 $ sudo port select mysql mysql56
     39Also, mysql56 now uses the `''port select''` mechanism to manage the creation of symlinks in
     40/opt/local/bin. Using `port select` will install a link for exactly one of the available
     41installations. Alternatively, you may simply add the path containing the desired mysql
     42installation to your PATH.
    4643
    47 generates the output:
     44Use one of these two:
    4845
    49 Selecting 'mysql56' for 'mysql' succeeded. 'mysql56' is now active.
    50 
    51 but makes no changes to the PATH.
    52 }}}
    53 
    54 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:
    5546{{{
    5647$ sudo port select mysql mysql56
     
    5849$ export PATH=$PATH:/opt/local/lib/mysql56/bin
    5950}}}
     51
    6052Once you have done at least one of the two previous commands, set up the main database:
    6153