From: Charles Oliver Nutter on 15 Mar 2010 14:55 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 21 Mar 2010 19:43 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 28 Mar 2010 19:48 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 29 Mar 2010 01:25 > > 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 29 Mar 2010 07:41 I'm already Using 127.0.0.1. Thanks anyway! --- frmsrcurl: http://compgroups.net/comp.lang.ruby/Error-uninitialized-constant-Mysql-Protocol-UNIXSocket
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: [Chris Pine] Chapter 7 - Sorting Arrays without .sort Next: What about Limelight? |