Displaying 20 results from an estimated 10000 matches similar to: "Plain text passwords in database.yml"
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone,
What are other people doing with regards to database.yml being in
version control? My dilema:
I set up my rails app in svn using these instructions:
http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion
The part to note is where I ignore database.yml, allowing different
developers to keep their own database.yml without clobbering other
developers'' files.
2006 Apr 26
3
problem with database.yml moving from 0.13.0 to 0.14.4
Hi,
I''m upgrading from 0.13.0 to 0.14.4, and I''m having trouble with my database
authentication. Even though the entries in my database.yml are correct, I
get the
following message when trying to do a ruby script/generate scaffold
myClass...
Access denied for user: ''@localhost to database ''''
Why is the username and database name showing up as
2006 Mar 30
2
database.yml and Dreamhost
I am unable to connect to my databases.
Here is the error I am getting:
MysqlError (Can''t connect to local MySQL server through socket
''/var/run/mysqld/mysqld.sock'' (2)):
Here is my database.yml:
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Get the fast C bindings:
# gem install mysql
# (on OS X: gem install mysql --
2011 Mar 31
1
Question about setting database config without database.yml
A little background.
We are deploying a rails app on jboss by using warbler and the app is
using rails 3.0.3.
There are several parameters the customer may need to change. Some of
these parameters include database connection information, ie shema,
username, password, host, port, and database. We are connecting
through oracle thorugh the jdbc adapter.
My problem lies in the fact that I cannot
2006 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
Greetings,
Today I''ve been working out how to begin using Capistrano and so far I''m
impressed. Even in my situation, learning Rails and deploying to a
single server, it''s incredibly helpful. I do have one small question
though:
In using Subversion I''ve used the "ignore" feature to ignore my local
database.yml file, because my local database and
2009 Mar 31
9
Application without database.yml
Hi,
I have created one application. In that application I am not using any
database.
Whenever I starting rails server it is giving me an error for
configuration of database.yml.
What should I do for this?
Thanks,
Tushar
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 Jan 08
5
parse error in database.yml
Since upgrading to rails 1.0 I keep getting a parse error in database.yml.
I have tried multiple configurations of both mysql and postgres and
continue getting this error message when trying to generate a model or
scaffold.
-Andrew
2007 Apr 01
7
database.yml: encoding: utf8 does not work
Hi all
According to the Agile 2nd Ed book I added the line encoding: utf8 to my
database.yml connections.
But now when running rake I get plenty of errors:
Character set ''utf-8'' is not a compiled character set and is not
specified in the ''/usr/local/mysql/share/mysql/charsets/Index'' file
What''s wrong here?
I checked this Index file, but it seems to
2013 Oct 20
2
optimize la value of pool in database.yml
Hi,
I would like to understand how to calculate optimal value for "pool"
parameter in database.yml
I''m using rails 3, ruby 2, postgres, elasticsearch, unicorn, nginx
My server : 12 coeurs 24 threads ( I dont know if it is necessary for
define pool value)
unicorn : worker_processes 24
I have around 1500 pages requested per minutes, and around 200ms per request
Is it also
2006 Mar 05
1
encoding: utf8 in database.yml causes error
Hi
Using ruby 1.8, rails 1.0, mysql 4.1.11
in database.yml:
adapter: mysql
encoding: utf8
database: myproject_development
username: user
password: password
socket: /var/run/mysqld/mysqld.sock
but when I start the error I get:
Can''t initialize character set utf8 (path: /usr/share/libmysqlclient/charsets/)
Can anyone tell me what file it''s looking for, and how I
2006 Jan 11
1
access value set in config/database.yml
Hi all I trying to access from my controller the host, database, user,
password that being set in database.yml in the config directory. Anyone has
any idea?
2006 Dec 24
1
How to get database.yml configuration to use it in a rake taks
Hello,
I want to get the production environment configuration from the
database.yml in the /shared folder of a deployed rails application. I
could use scp to get the file, write it to temporary file, read it and
open it with YAML, but is there a better way to do this?
Best regards,
--
AnĂbal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com
2006 Sep 06
1
Need to override database.yml settings for Capistrano run
All,
Database: SQL Server 2000
SQLServer adapter in ODBC mode
I have a Capistrano deploy script which fails when I run against my
production DB.
Apparently, this is the because the user that is set up for production
has "guest" privileges in my SQL Server database and when Capistrano
runs, instead of looking at the dbo.schema_info table (which has the
correct version # - yes I
2008 May 06
3
Capistrano: chmod 600 database.yml
Would it be wise to chmod 600 your database.yml file using Capistrano
when deploying seeing as it contains your mysql db in plain text?
~ Mark
--
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
2007 Oct 03
6
problem with database.yml
Hi all! I am completely new to RoR and I have runned into a problem. I
have followed an online course for RoR on Lynda.com and everything has
worked out well until I should change to database.yml file.
Instead of the tutors text "host: localhost" I get "socket: /tmp/
mysql.sock" in development enviroment
I thought I would give it a try to continue anyway but when I later
try
2006 May 10
8
dynamic setting of username and password in database.yml
Hello
I''ve now read a lot about application-level authentication in Rails, but
I need to do database-level authentication.
The reason is that my database needs to have the current_user (database
current_user, not current_user defined in an ActiveRecord Model) set to
execute triggers for automatically updating audit tables. So it is not
enough to have a session check against a User
2008 Apr 23
4
database.yml, what to change?
exactly what do i need to change? i should set username and password
to whatever i want?
or username should be root?
what exactly do i need to change/set up?
"""
You then need to edit the database.yml file (in any text editor) to
properly link to your database etc. This file can be found in the
ProjectName\config\ directory. You will be presented with something
that looks like:
2008 Jan 08
5
Different environments in backgroudrb.yml
Hi,
Got everything setup nicely with backgroundrb for the development
environment and running tests with rspec. However, I have to keep
editing the backgroundrb.yml file, to switch between development and
testing environment. How can I declare a development, testing and
production environment in backgroundrb.yml?
Thanks in advance
Rai
2006 Oct 16
3
backgroundrb.yml not generated
I''m trying to do the tutorial at http://www.infoq.com/articles/BackgrounDRb. A little more than half-way through it says "Upon instalation, the plugin writes a config file into RAILS_ROOT/config/backgroundrb.yml." It didn''t happen for me.
I installed the plugin with:
ruby script\plugin install svn:\\rubyforge.org//var/svn/backgroundrb
It added a bunch of files,
2019 Jul 14
2
.travis.yml ... most likely included in error
Hello:
????? Suggestions for whomever maintains "R CMD":
??? ??????? 1.? Can you change it so it doesn't complain about the
presence of ".travis.yml", at least on GitHub?
??? ??????? 2.? What do you suggest people do to find error messages in
the output?? I ask, because I'm getting "build failing" from
travis-ci.org, but I can't see what failed