Changes between Version 22 and Version 23 of howto/MAMP
- Timestamp:
- Sep 22, 2008, 11:30:58 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v22 v23 254 254 }}} 255 255 256 Restart Apache so that your changes take effect 257 258 {{{ 259 cd /opt/local/apache2/bin/ 260 sudo ./apachectl -k restart 261 }}} 262 256 263 Finally, you need to set up the `phpMyAdmin` configuration to access mySQL. First, set up the config file: 257 264 … … 266 273 $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? 267 274 $cfg['Servers'][$i]['user'] = 'root'; // MySQL user 268 $cfg['Servers'][$i]['password'] = ;// MySQL password (only needed275 $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed 269 276 // with 'config' auth_type) 270 277 }}} 271 278 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.279 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. 273 280 274 281 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).