Mysql cluster database.yml setup

im trying to deploy my app on our staging server and am running into an
issue.
we have a MySQL NDB cluster for the staging box. this basically means
that
the staging box should be able to use MySQL via localhost and it will
automatically know it’s in a cluster. When running queries, it will go
out
to the real DB boxes instead of localhost to fetch the data.
AFAIK, the clustering setup means there is no mysqld.sock file on the
staging box. Rake throughs errors because it can’t find the file Anyone
know a way around it?

Do I need to connect to an external IP to avoid this? Seems
uneccessary…

thanks,
ed

Do I need to connect to an external IP to avoid this? Seems uneccessary…
Can you connect to 127.0.0.1?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs