From: Charles Oliver Nutter on
On Sat, Mar 13, 2010 at 11:25 AM, raronas <aronas23(a)gmail.com> wrote:
> Hello,
> How do I do this?
> MySQL works for other languages in my PC, for PHP for example, how do
> I confgiure this with ruby on rails? in which config file?
> thanks!

It would be in your database.yml file.

- Charlie

From: raronas on
On 13 mar, 15:19, Luis Lavena <luislav...(a)gmail.com> wrote:
> On Mar 13, 6:23 pm, raronas <arona...(a)gmail.com> wrote:
>
>
>
> > Hello,
> > How do I do this?
> > MySQL works for other languages in my PC, for PHP for example, how do
> > I confgiure this with ruby on rails? in which config file?
> > thanks!
>
> Please provide details about the ruby implementation and version
> you're using.
>
> Also, the operating system and the version of mysql you're trying to
> connect with.
>
> With that information, we can help you out figuring out which
> component needs to be replaced and guide you on the right direction.
>
> --
> Luis Lavena

Hello,
in database.yml I have this:

development:
adapter: mysql
encoding: utf8
database: dancemove_development
pool: 5
username: root
password: xxxxx
host: localhost

I'm using netbeans 6.8, I have Windows 7 Professional, Trying to use
MySQL 5.0,
have ruby 1.8.6 and rails 2.0.2.
Thanks!
From: raronas on
On 21 mar, 20:43, raronas <arona...(a)gmail.com> wrote:
> On 13 mar, 15:19, Luis Lavena <luislav...(a)gmail.com> wrote:
>
>
>
> > On Mar 13, 6:23 pm, raronas <arona...(a)gmail.com> wrote:
>
> > > Hello,
> > > How do I do this?
> > > MySQL works for other languages in my PC, for PHP for example, how do
> > > I confgiure this with ruby on rails? in which config file?
> > > thanks!
>
> > Please provide details about the ruby implementation and version
> > you're using.
>
> > Also, the operating system and the version of mysql you're trying to
> > connect with.
>
> > With that information, we can help you out figuring out which
> > component needs to be replaced and guide you on the right direction.
>
> > --
> > Luis Lavena
>
> Hello,
> in database.yml I have this:
>
> development:
>   adapter: mysql
>   encoding: utf8
>   database: dancemove_development
>   pool: 5
>   username: root
>   password: xxxxx
>   host: localhost
>
> I'm using netbeans 6.8, I have Windows 7 Professional, Trying to use
> MySQL 5.0,
> have ruby 1.8.6 and rails 2.0.2.
> Thanks!

Hello fellas!
Does anybody know something about this error? It's really annoying I
can't set it up correctly on my PC.
Thanks!!!
From: Jonathan Nielsen on
>
> Hello fellas!
> Does anybody know something about this error? It's really annoying I
> can't set it up correctly on my PC.
> Thanks!!!
>
>

Just a possibility, try changing 'host' from localhost to 127.0.0.1 so
it uses a TCPSocket instead of a UNIXSocket.

-Jonathan Nielsen

From: raronas on
I'm already Using 127.0.0.1.
Thanks anyway!

---
frmsrcurl: http://compgroups.net/comp.lang.ruby/Error-uninitialized-constant-Mysql-Protocol-UNIXSocket