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:

development:
adapter: mysql
encoding: utf8
database: ProjectName_development
username: root
password: your_password_here
host: localhost (modify if needed)

Once all this is set up, you just need to run the command:
“”"

and what exactly do they mean by this? i should change something here
or not?

Warning: The database defined as ‘test’ will be erased and

re-generated from your development database when you run ‘rake’.

Do not set this db to the same as development or production.

test:
adapter: mysql
encoding: utf8
database: testproject_test
username: root
password:
host: localhost

libmysql.dll

the file was not found i get when i run “rake db:create”.

exactly where do i need to run this from. i run it in the folder of my
project.

On 23 Apr 2008, at 01:13, globalrev wrote:

and what exactly do they mean by this? i should change something here
or not?

It means what it says: don’t set that database to be the same as your
dev/production database, because it will get erased automatically. You
do still probably want to change it, just don’t set the database to be
the same as your production/dev ones.

On 23 Apr 2008, at 01:11, globalrev wrote:

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?

It doesn’t matter what database/username/password are, as long as they
match up with how mysql is setup (ie there is a database of that name
and the specified user can access it, using the specified password)

Fred