1. Setup the MySQL Tools
a: MySQL Query Browser with the inserted records and result
b. MySQL Administrator Tool with table properties added
c. MySQL Administrator creatd the database: itc and table : passsengers
# MySQL version # gem install mysql -ruby (not necessary on OS X Leopard)
development:
adapter: mysql
database: itc
username: root
password: 123456
host: localhost
# 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.
# 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: itc
username: root
password: 123456
host: localhost
production:
production:
adapter: mysql
database: itc
username: root
password: 123456
host: localhost
- Firstly, the passengers must be created under the model by the generator
- Secondly, amend the 20090412090902_create_passengers.rb which is created by the generator under the db migrate folder
London Taxi Service for airport Transfers are an integral part of any taxi company. Whether you are traveling on business or taking a holiday we will ensure you reach the airport in plenty of time.
ReplyDelete