I have the same problem as above. Everything was going great minus the Ruby installation issues, which I solved. Now I cannot connect to mysql either for some reason.
Please enter your MySQL server:localhost
The MySQL server you specified cannot be reached!
Here is the output from Ping:
/etc/mysql# ping -c2 localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
From localhost.localdomain (127.0.0.1) icmp_seq=1 Destination Port Unreachable
From localhost.localdomain (127.0.0.1) icmp_seq=2 Destination Port Unreachable
--- localhost.localdomain ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 999ms
Here is the output of restarting mysql:
/etc/mysql# /etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.
Please let me know if I am missing anything here.