PHP beginner |
|
hallo,
ik hbe ook besloten om ruby te gaan leren, maar nu zit ik met een vraagje: ik heb in database.yml nu dit ingevuld:
# 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 -- --include=/usr/local/lib)
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql
database: tutorials
username: rick
password: wachtwoord
socket: /path/to/your/mysql.sock
# Connect on a TCP socket. If omitted, the adapter will connect on the
# domain socket given by socket instead.
#host: localhost
#port: 3306
# 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
database: tutorials_test
username: root
password:
socket: /path/to/your/mysql.sock
production:
adapter: mysql
database: tutorials_production
username: root
password:
socket: /path/to/your/mysql.sock
# 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 -- --include=/usr/local/lib) # And be sure to use new-style password hashing: # http://dev.mysql.com/doc/refman/5.0/en/old-client.html development: database: tutorials username: rick password: wachtwoord socket : /path /to /your /mysql.sock # Connect on a TCP socket. If omitted, the adapter will connect on the # domain socket given by socket instead. #host: localhost #port: 3306 # 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: database: tutorials_test username: root password: socket : /path /to /your /mysql.sock production: database: tutorials_production username: root password: socket : /path /to /your /mysql.sock
is dat alles, of ben ik nog iets vergeten?
|