One more thing, I have create application with this command "rails new app 
-d mysql".
when i start server i got error :
Mysql2::Error Access denied for user 'root'@'localhost' (using password: NO)

how to solve this error,

veasna

On Wednesday, May 21, 2014 8:36:34 PM UTC-7, Loganathan Sellappa wrote:
>
> Whatever may be the OS, you need to configure the mysql credential in 
> database.yml
>
> regards,
> Loganathan
> Mob: +91 7760780741 | +91 9944414388
> Skype: loganathan.sellappa
> ViewMe <http://vizualize.me/loganathan>
>
>
>
> On Thu, May 22, 2014 at 9:05 AM, Duong vong veasna 
> <veasna...@gmail.com<javascript:>
> > wrote:
>
>> Thanks again Mr. Loganathan
>> but i am using window 8.
>>
>>
>>
>> On Wednesday, May 21, 2014 8:27:26 PM UTC-7, Loganathan Sellappa wrote:
>>
>>> You need to place the user name and password in database.yml.
>>>
>>>   database: dbname
>>>   adapter: mysql2
>>>   encoding: utf8
>>>   pool: 5
>>>   username: mysql-username
>>>   password:  mysql-password
>>>   socket: /var/run/mysqld/mysqld.sock
>>>
>>>
>>> regards,
>>> Loganathan
>>> Mob: +91 7760780741 | +91 9944414388
>>> Skype: loganathan.sellappa
>>> ViewMe <http://vizualize.me/loganathan>
>>>
>>>
>>>
>>> On Thu, May 22, 2014 at 8:52 AM, Duong vong veasna 
>>> <veasna...@gmail.com>wrote:
>>>
>>>>  Dear Mr. Loganathan
>>>>
>>>> Could you tell me how to set username and password. 
>>>> Do i have to put it in Railsinstaller folder? if that how to do?
>>>>
>>>> thanks for your help.
>>>> veasna
>>>>
>>>> On Wednesday, May 21, 2014 7:51:51 PM UTC-7, Loganathan Sellappa wrote:
>>>>
>>>>> 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 <
>>>>> veasna...@gmail.com> 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 
>>>>>>> <77m...@gmail.com>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 <veasna...@gmail.com
>>>>>>>>>> >:
>>>>>>>>>>
>>>>>>>>>>> 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 rubyonrails-ta...@googlegroups.com.
>>>>>>>>>>> To post to this group, send email to 
>>>>>>>>>>> rubyonra...@googlegroups.com.
>>>>>>>>>>> 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 rubyonrails-ta...@googlegroups.com.
>>>>>>>> To post to this group, send email to rubyonra...@googlegroups.com.
>>>>>>>> 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 rubyonrails-ta...@googlegroups.com.
>>>>>> To post to this group, send email to rubyonra...@googlegroups.com.
>>>>>> 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 rubyonrails-ta...@googlegroups.com.
>>>> To post to this group, send email to rubyonra...@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/rubyonrails-talk/c73083fa-4c48-4950-ab5f-
>>>> 1ff767a0d279%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/c73083fa-4c48-4950-ab5f-1ff767a0d279%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 rubyonrails-ta...@googlegroups.com <javascript:>.
>> To post to this group, send email to 
>> rubyonra...@googlegroups.com<javascript:>
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/b52e7c07-1674-4bc6-b83d-8a35977c1109%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/b52e7c07-1674-4bc6-b83d-8a35977c1109%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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/2f16b8b1-b0bb-4b1e-b407-b23c49be0d98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to