This is my first question on serverfault, although I have used stackoverflow before.
I am in a Ruby on Rails class over this summer and need to get RoR running ASAP. I used MacPorts to install Ruby, Rubygems, Rails, and mysql (I installed two ports named "rb-mysql" and "mysql5"). I was following a tutorial which requires that we use mysql to modify a basic RoR database, and got this:
Icarus:people atg$ mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2)
There is no socket at the location specified. I can't find a socket anywhere. I've never been able to start anything up with mysql, so I'm not sure what I'm doing wrong here. As I'm new to web development and the like (but not new to programming) I have no clue what I am doing, so please be specific in your help.
All help is appreciated and thanks in advance!