Did you set the Mysql username & password in database.yml and can you able
to login via mysql client directly?

regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe <http://vizualize.me/loganathan>



On Thu, May 22, 2014 at 7:34 AM, Duong vong veasna
<[email protected]>wrote:

> Dear Mr. Loganathan, After i copy dll file into ruby/bin then i start run
> "rails server", localhost:3000 not working, it said <mysql2::Error>
> Access denied for user 'root'@'localhost' (using password: NO)
>
>
> please help me, thanks you.
>
> On Wednesday, May 21, 2014 4:44:07 AM UTC-7, Loganathan Sellappa wrote:
>
>> You need to place mysql client ddl file. Refer here
>> http://stackoverflow.com/questions/8162322/set-up-
>> rails-to-find-the-default-location-of-libmysql-dll . I installed ROR on
>> windows sometime backa nd resolved the issue by placing the dll file.
>>
>> regards,
>> Loganathan
>> Mob: +91 7760780741 | +91 9944414388
>> Skype: loganathan.sellappa
>> ViewMe <http://vizualize.me/loganathan>
>>
>>
>>
>> On Wed, May 21, 2014 at 5:02 PM, Karthikeyan A K <[email protected]>wrote:
>>
>>>  Sorry to say that long long ago tried to install MySQL gem in Windows
>>> 7 and 8 and was not able to do it. If possible shift to linux.
>>>
>>>
>>> On Wednesday, May 21, 2014 10:32:16 AM UTC+5:30, Duong vong veasna wrote:
>>>>
>>>> when i use gem install mysql2. I got this error.
>>>>
>>>> Result logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/
>>>> extensions/x86-mingw32/1.9.1/mysql-2.9.1/gem_make.out
>>>>
>>>> thanks you,
>>>>
>>>> On Tuesday, May 20, 2014 7:34:16 PM UTC-7, Germano Teixeira wrote:
>>>>>
>>>>> Did you try install the mysql gem before run rails new command?
>>>>>
>>>>> Try run "gem install mysql2" as suggested by the log.
>>>>> This will show you what is the real problem.
>>>>>
>>>>>
>>>>> 2014-05-20 22:48 GMT-03:00 Duong vong veasna <[email protected]>:
>>>>>
>>>>>> Dear all Rails Developers, i can not use the command "rails new app
>>>>>> -d mysql" when i try to use this i got error.
>>>>>>
>>>>>> please help me, thanks you.
>>>>>>
>>>>>>
>>>>>>
>>>>>> <https://lh4.googleusercontent.com/-7XFxj_-4JLA/U3wFXLFvi4I/AAAAAAAAADw/Ch7nQ8EHN80/s1600/error+02.png>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Ruby on Rails: Talk" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>>>> msgid/rubyonrails-talk/69db2927-9daf-45f8-830e-d95e9b2f04a4%
>>>>>> 40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/69db2927-9daf-45f8-830e-d95e9b2f04a4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ruby on Rails: Talk" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/rubyonrails-talk/9e9c5ed1-71d8-4efb-937b-
>>> 8f6636e49438%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/9e9c5ed1-71d8-4efb-937b-8f6636e49438%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/15d55975-9772-4d82-ae5b-2b6e59a7c0b0%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/15d55975-9772-4d82-ae5b-2b6e59a7c0b0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAD_i5MGxww_Dqo2D36rTU61bHtNLtEr6u7fMTevq4J6cT0iOkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to