Hallo to all Ic have a big problem with my database. I have installed ruby on rails and the Plug in for Eclipse. I create a database with mysql. But when I want do use the database in Eclipse for Rails he says that there is no connection to the databse. development: adapter: mysql database: familie_development username: root password: er90di host: localhost Do I need a Socket or anything else! PLease help me! Thank you -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yeah, It''s most likely to specify a socket to the specific location. And that can be done as easy as the following example: adapter: mysql database: familie_development username: root password: er90di host: localhost socket: /usr/mysql/mysql.sock So specify your location correctly and see if it works... Good Luck ! ( en de groeten ;-) ) - Jermaine Harald wrote:> Hallo to all > > Ic have a big problem with my database. I have installed ruby on rails > and the Plug in for Eclipse. I create a database with mysql. But when I > want do use the database in Eclipse for Rails he says that there is no > connection to the databse. > > development: > adapter: mysql > database: familie_development > username: root > password: er90di > host: localhost > > Do I need a Socket or anything else! > > PLease help me! > > Thank you-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sorry but i dont find an file with the ending .sock. I use the mysql for windows! is this file in the direction where the special database is or is it an general file for all databases?? Please for reply! Sorry for my not correct english! gg Jermaine wrote:> Yeah, It''s most likely to specify a socket to the specific location. And > that can be done as easy as the following example: > > adapter: mysql > database: familie_development > username: root > password: er90di > host: localhost > socket: /usr/mysql/mysql.sock > > So specify your location correctly and see if it works... > > Good Luck ! ( en de groeten ;-) ) > > - Jermaine > > Harald wrote: >> Hallo to all >> >> Ic have a big problem with my database. I have installed ruby on rails >> and the Plug in for Eclipse. I create a database with mysql. But when I >> want do use the database in Eclipse for Rails he says that there is no >> connection to the databse. >> >> development: >> adapter: mysql >> database: familie_development >> username: root >> password: er90di >> host: localhost >> >> Do I need a Socket or anything else! >> >> PLease help me! >> >> Thank you-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Is nobody here who can help me or had the same problem? Please I need help! MFG Harald -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Harald wrote:> Is nobody here who can help me or had the same problem? > > Please I need help! > > MFG HaraldConnect via a TCP/IP socket, rather than trying to a use a Unix domain socket (which don''t exist under Windows). E.g.: host: localhost port: 3306 -- Michael Wang --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Harald, You might want to try posting your question to an Eclipse list. Problems with setting up / debugging an IDE is not something I''ve seen folks get a lot of help with here. Sorry I can''t be more help, but I just use a regular old text editor for Rails development. Best regards, Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Harald wrote:> Hallo to all > > Ic have a big problem with my database. I have installed ruby on rails > and the Plug in for Eclipse. I create a database with mysql. But when I > want do use the database in Eclipse for Rails he says that there is no > connection to the databse. > > development: > adapter: mysql > database: familie_development > username: root > password: er90di > host: localhost > > Do I need a Socket or anything else! > > PLease help me! > > Thank youThere is something screwy with passwords and mysql on windows. A quick test. create a MySQL user named Rails with no password that can log in only form localhost, and give that user the needed privileges. Then take out the passworl line in you database.yml file and change the user to Rails. If this solves the problem there is some configuration thingy you need to do with MySQL. I''ve just dropped the password for my development and test databases, so I don''t remember exactly how to solve it. John Miller -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---