You might encounter the following two errors while installing phpMyAdmin on OSX
- Login without password is forbidden by the configuration ( See AllowNoPassword )
- #2002 can not login tot the MySQL server
Here are the fixes for the above two errors.
1. Open phpMyAdmin configuration located at (phpMyAdmin Folder)/config.inc.php and change
$cfg['Servers'][$i]['AllowNoPassword'] = False; to
$cfg['Servers'][$i]['AllowNoPassword'] = true;
2. In the configuration file change
$cfg['Servers'][$i]['host'] = 'localhost'; to
$cfg['Servers'][$i]['host'] = '127.0.0.1';
If you are unable to connect to mysql from PHP and you are sure that MYSQL is running, then try changing your host name from localhost to 127.0.0.1
I got this error while trying to start mongodb on amazon ec2. Running this command in the terminal solved the problem.
I don’t have any idea about what it means at this time except that it sets the terminal to display all languages. If you can explain what actually it does, please drop a comment.
On mac httpd.conf file is located in the directory
/etc/apache2/. You can access it through terminal if you want to navigate to it through finder, on finder toolbar goto go->go to folder and type in
Navigate to hidden folders in MAC
Navigating to system files on MAC OSX
If you get a
-bash: make: command not found error while trying to compile from source, you have to install xcode and then in xcode goto preferences->downloads and install xcode developer tools
installing command line tools on MAC OSX
I’m not sure if you can install command lines without xcode. I can not test as I already have Xcode on my system you can download command line tools here