New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changes between Version 22 and Version 23 of howto/MAMP


Ignore:
Timestamp:
09/22/08 16:30:58 (5 years ago)
Author:
danocd@…
Comment:

Restart apache and provide your MYSQL root password!

Legend:

Unmodified
Added
Removed
Modified
  • howto/MAMP

    v22 v23  
    254254}}} 
    255255 
     256Restart Apache so that your changes take effect 
     257 
     258{{{ 
     259cd /opt/local/apache2/bin/ 
     260sudo ./apachectl -k restart 
     261}}} 
     262 
    256263Finally, you need to set up the `phpMyAdmin` configuration to access mySQL. First, set up the config file: 
    257264 
     
    266273$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)? 
    267274$cfg['Servers'][$i]['user']          = 'root';      // MySQL user 
    268 $cfg['Servers'][$i]['password']      =           // MySQL password (only needed 
     275$cfg['Servers'][$i]['password']      = '';          // MySQL password (only needed 
    269276                                                    // with 'config' auth_type) 
    270277}}} 
    271278 
    272 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. 
     279Where ' ' 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. 
    273280 
    274281To 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).