[Rails] Re: mysql2 adapter unable to connect to MySQL

2011-03-18 Thread Ajay
Hi Fred, Thanks for your comments and suggestions. They were really useful. I first noticed that I had two mysql installations in my system - one through compilation and another installed through yum. I uninstalled both and had only one. But, it did not result in any change in error. I then thou

Re: [Rails] Re: mysql2 adapter unable to connect to MySQL

2011-03-15 Thread Frederick Cheung
On 14 Mar 2011, at 18:39, Ajay wrote: > Hi Bryan, > > I executed the symlink command you sent me and then executed > rails server > But, I am still getting the same error. > /usr/local/bin/ruby: symbol lookup error: /usr/local/lib/ruby/gems/ > 1.9.1/gems/gems/mysql2-0.2.6/lib/mysql2/mysql2.so:

[Rails] Re: mysql2 adapter unable to connect to MySQL

2011-03-14 Thread Ajay
Hi Bryan, I executed the symlink command you sent me and then executed rails server But, I am still getting the same error. /usr/local/bin/ruby: symbol lookup error: /usr/local/lib/ruby/gems/ 1.9.1/gems/gems/mysql2-0.2.6/lib/mysql2/mysql2.so: undefined symbol: RARRAY_LEN In addition, I have done

Re: [Rails] Re: mysql2 adapter unable to connect to MySQL

2011-03-13 Thread Bryan Crossland
On Sun, Mar 13, 2011 at 3:45 AM, Alir3z4 wrote: > > > On Mar 12, 9:11 am, Ajay wrote: > > Hello, > > > > When I am running the command "rails server", I am getting the > > i have same problem on windows xp > i tried many ways, even i could excute rails server but after running > server, rails ap

Re: [Rails] Re: mysql2 adapter unable to connect to MySQL

2011-03-13 Thread Bryan Crossland
On Sat, Mar 12, 2011 at 11:52 PM, Ajay wrote: > Hi Bryan, > > I executed the following command > gem uninstall mysql2 > > followed by the command you mentioned. > > I then executed the command > rails server > But, I am getting the same error. Please let me know, if you have any > other ideas tha

[Rails] Re: mysql2 adapter unable to connect to MySQL

2011-03-13 Thread Alir3z4
On Mar 12, 9:11 am, Ajay wrote: > Hello, > > When I am running the command "rails server", I am getting the i have same problem on windows xp i tried many ways, even i could excute rails server but after running server, rails application doesn't work -- You received this message because you a

[Rails] Re: mysql2 adapter unable to connect to MySQL

2011-03-12 Thread Ajay
Hi Bryan, I executed the following command gem uninstall mysql2 followed by the command you mentioned. I then executed the command rails server But, I am getting the same error. Please let me know, if you have any other ideas that I can try. Thanks, Ajay > Hi Ajay, > > Have you tried uninstall