Changes between Version 9 and Version 10 of howto/MySQL
- Timestamp:
- Jun 25, 2016, 3:29:51 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MySQL
v9 v10 36 36 37 37 = 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?44 38 45 $ sudo port select mysql mysql56 39 Also, 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 41 installations. Alternatively, you may simply add the path containing the desired mysql 42 installation to your PATH. 46 43 47 generates the output:44 Use one of these two: 48 45 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:55 46 {{{ 56 47 $ sudo port select mysql mysql56 … … 58 49 $ export PATH=$PATH:/opt/local/lib/mysql56/bin 59 50 }}} 51 60 52 Once you have done at least one of the two previous commands, set up the main database: 61 53