[MacPorts] howto/PHP modified

MacPorts noreply at macports.org
Sun Jan 4 15:34:35 PST 2015


Page "howto/PHP" was changed by magill at mac.com
Diff URL: <https://trac.macports.org/wiki/howto/PHP?action=diff&version=7>
Revision 7
Comment: upd
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/PHP
=========================================================================
--- howto/PHP (version: 6)
+++ howto/PHP (version: 7)
@@ -122,26 +122,35 @@
 $cfg['Servers'][$i]['password']    = '';          // MySQL password (only needed with auth_type = 'config')
 }}}
 
-Where ' ' is an empty password; fill it with your MySQL root password. //
-If you change the 'auth_type' from 'config' to 'cookie' or 'httpd' you do not need to  provide the password you selected for the MySQL root user in the 'password' option. However details for configuring those two authorization options are not given here.
+Where ' ' is an empty password; fill it with your MySQL root password. \\
+'''NOTE:''' You should change the 'auth_type' from 'config' to 'cookie' or 'httpd' so that you do not need to  provide the password you selected for the MySQL root user in the 'password' option.
+(I.e. leaving it in plain text in this config file.) \\
+However, as this is to simply get you "up-and-running," details for configuring those two authorization options are not given here.
+Details on "Using Authentication Modes" can be found at "''https://docs.phpmyadmin.net/en/latest/setup.html#using-authentication-modes''."
 
 There is also an interactive setup, see http://www.phpmyadmin.net/documentation/#setup_script and the demo at http://www.phpmyadmin.net/documentation/setup/
 
 To check your phpMyAdmin installation, point your browser to http://localhost/phpmyadmin and verify that phpMyAdmin loads and can access your database (by providing a username and password, depending on the authentication method you selected).
 
 
-= Optional pmadb = #pmadb
+= Step 6: Install pmadb = #pmadb
+Some consider the installation of pmadb "optional." \\
+However, phpMyAdmin will flag the fact that it is missing and therefore certain features are not functional with the message:
+{{{
+The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why. 
+      Or alternately go to 'Operations' tab of any database to set it up there.
+}}}
 
 For additional features provided by pmadb (http://wiki.phpmyadmin.net/pma/pmadb), run 
 {{{
-$ mysql5 -u root -p < /opt/local/www/phpmyadmin/examples/create_tables.sql
+$ mysql -u root -p < /opt/local/www/phpmyadmin/examples/create_tables.sql
 }}}
 
 Then run this SQL to setup the pma 'controluser' (change the 'pmapass' to your password).
 {{{
 -- HOW TO USE THIS FILE (with MacPorts installation)
--- mysql5 -u root -p < /opt/local/www/phpmyadmin/examples/create_tables.sql
--- mysql5 -u root -p < mysql_phpMyAdmin_pmaSetup.sql
+-- mysql -u root -p < /opt/local/www/phpmyadmin/examples/create_tables.sql
+-- mysq5 -u root -p < mysql_phpMyAdmin_pmaSetup.sql
 
 CREATE USER 'pma'@'localhost' IDENTIFIED BY 'pmapass';
 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/PHP>
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/PHP' page.
If it was not you, please report to .


More information about the macports-changes mailing list