If you get this error (in phpMyAdmin or other operation) after setting up a MySQL password: ERROR 1045: Access denied for user: ‘root@localhost’ (Using password: NO) This might caused by phpMyAdmin’s configuration doesn’t have the new password. If using XAMPP, you need to update the /Applications/xampp/xamppfiles/phpmyadmin/config.inc.php for the phpMyAdmin: $cfg['Servers'][$i]['password'] = ‘YOURPASSWORD’; Change the YOURPASSWORD [...]
VirtualHost browser cache
Setting up a virtual host on PC, Mac or Linux isn’t difficult, but the browser cache problem drives me crazy. Apart from editing the /etc/hosts mappings and httpd.conf, you need to restart both Apache and browser. Refreshing the browser(Firefox) doesn’t clean the cache, so the result will be always add /xampp/index.php at the end of [...]
Leopard system environment PATH setting
Leopard PATH setting is quite different from Tiger. Configuring PATH on Tiger, we used to either modify the /etc/path or user path configuration. With Leopard, system-wide path configuration is managed by /etc/profile. The file loads a path_helper script. So what the script does? The path_helper constructs the system environment PATH in this order: Reads the [...]