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: | 457 |
Nodes: | 16 (2 / 14) |
Uptime: | 134:50:06 |
Calls: | 9,337 |
Calls today: | 8 |
Files: | 13,534 |
Messages: | 6,082,490 |
Posted today: | 1 |