So I'm new to MYSQL and RoR. I am trying to learn ruby on rails, but
i'm having a problem with MYSQL.
I am using Mac OS X 10.6 Snow Leopard (10.6.7).
To install MYSQL i done:
brew install mysql
Which installed mysql, but when I do "mysql_install_db" this comes up:
FATAL ERROR: Could not find ./bin/my_print_defaults
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
and when I do "mysql -u root" this comes up:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
Can anybody please help me? As I would like to continue learning ror
ASAP, but this is holding me back...