 |
|
 |
|
| Franscape
Development Tutorials |
You are currently viewing the Rails: Make Database.yml Default To MySQL tutorial, in the 'MISC' category.
-----------------
In the generation of a new app in Rails 2.0, the framework defaults to SQLite3 as the database adapter in database.yml.
Use the following command in the shell, when initializing your app, to specify MySQL instead:
| dir> rails -d mysql myapp |
-----------------
· Discuss this and other tutorials on the FS Forums.
· Return to the
MISC tutorial listing.
· Return to the Tutorial Overview.
· Return Home.
|
|
|
|
|
|
|
 |