[MacPorts] howto/MAMP modified

MacPorts noreply at macports.org
Mon Sep 22 16:30:59 PDT 2008


Changed page "howto/MAMP" by danocd at tiscali.it from 87.24.199.13*
Page URL: <http://trac.macports.org/wiki/howto/MAMP>
Diff URL: <http://trac.macports.org/wiki/howto/MAMP?action=diff&version=23>
Revision 23
Comment: Restart apache and provide your MYSQL root password!

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 22)
+++ howto/MAMP (version: 23)
@@ -253,6 +253,13 @@
 </Directory>
 }}}
 
+Restart Apache so that your changes take effect
+
+{{{
+cd /opt/local/apache2/bin/
+sudo ./apachectl -k restart
+}}}
+
 Finally, you need to set up the `phpMyAdmin` configuration to access mySQL. First, set up the config file:
 
 {{{
@@ -265,11 +272,11 @@
 {{{
 $cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
 $cfg['Servers'][$i]['user']          = 'root';      // MySQL user
-$cfg['Servers'][$i]['password']      = ;            // MySQL password (only needed
+$cfg['Servers'][$i]['password']      = '';          // MySQL password (only needed
                                                     // with 'config' auth_type)
 }}}
 
-You can either change the `auth_type` from 'config' to 'cookie' or 'httpd', or alternatively provide the password you selected for the root user in the 'password' option.
+Where ' ' is an empty password; fill it with your MySQL root password. You can either change the 'auth_type' from 'config' to 'cookie' or 'httpd', or alternatively provide the password you selected for the root user in the 'password' option.
 
 To check your phpMyAdmin installation, point your browser to http://localhost/phpmyadmin (or http://localhost/~username/phpmyadmin if applicable) and verify that phpMyAdmin loads and can access your database (by providing a username and password, depending on the authentication method you selected).
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on howto/MAMP. If it was not you, please
report to .


More information about the macports-changes mailing list