I''m setting up Rails on my windows xp system using the Onlamp tutorial (cookbook application) but I''m using An existing MySQL 4.0.21 installation ( I already have a PHP project using MySQL). The MySQL root user already has a password. Will it work if I just put a password in the config\database\yml file? Well, I tried it and it works, so why do the instructions say not to use a password ? I need to support the PHP app and don''t want to mess with the database if I don''t have to. Warren Seltzer
Jacob Quinn Shenker
2005-Sep-30 00:11 UTC
Re: Can I use MySQL password with Rails ? It works!
The Onlamp tutorial assumes you just installed mysql with the default options (a blank root password). In your case, you already set it up differently, and did the right thing by putting your password into the database.yml file. Jacob On 9/29/05, Warren Seltzer <warrens@actcom.net.il> wrote:> I'm setting up Rails on my windows xp system using the Onlamp tutorial (cookbook > application) but I'm using > An existing MySQL 4.0.21 installation ( I already have a PHP project using MySQL). The > MySQL root user already has a password. Will it work if I just put a password in the > config\database\yml file? > > Well, I tried it and it works, so why do the instructions say not to use a password ? > > I need to support the PHP app and don't want to mess with the database if I don't have to. > > Warren Seltzer > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails