Hello!
My system Mac os x 10.7
I am new to php (and programming, currently learning basics of C). I have trouble setting up
phpmyadmin. I have followed all necessary steps, including the last one of moving the config file
to phpmyadmin directory and deleting the directory config. But when I try to log in I get this error
#2002 - No such file or directory — The server is not responding (or the local server's socket is not correctly configured).
Here are the steps I have taken:
downloaded the php 5.5 version
renamed it to phpmyadmin as required and stored in /users/username/Sites
(mysql has been previously set)
Performed these commands in Terminal:
sudo mkdir /var/mysql
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
Created config folder in phpmyadmin
mkdir ~/Sites/phpmyadmin/config
chmod o+w ~/Sites/phpmyadmin/config
Performed all required actions at http://localhost/~username/phpmyadmin/setup/
- new server
- set mysql root user and password (the one I used for mysql)
Saved
Moved config.inc.php to phpmyadmin directory
Deleted config directory
Tried to go to
http://localhost/~username/phpmyadmin/
and when typed in my log in name and password got the above error
I will be grateful for your help!
Thank you!
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 349 |
Nodes: | 16 (2 / 14) |
Uptime: | 119:51:47 |
Calls: | 7,612 |
Files: | 12,787 |
Messages: | 5,684,115 |