|
CreateDatabases
*MOVED TO WIKI Setting up the databases for this project. See GettingStartedWithRails first.
IntroductionThis assumes that you have gotten through GettingStartedWithRails for your operating system. At this point, you should have successfully installed My SQL Server 5.0 on your system and started the server running. Once you have done that, now you need to actually create the database tables that our project will use. Details
mysqlshow -u root otwdb_development You should see something vaguely like:D:\My Documents\programming> mysqlshow -u root otwdb_development Wildcard: otwdb_development +-----------+ | Databases | +-----------+ +-----------+ D:\My Documents\programming> When You're DoneNow you need to install any necessary Rails plugins for this specific project. |
Mine says 'tables' not databases. -- jenn
Jenn, that's what you should be seeing.
The command "mysqlshow -u root" will show a listing of all the databases that you've created within MySQL on your computer (as the MySQL user "root").
Adding "otwdb_development" to the command specifies that you're interested in looking only at the database otwdb_development, and so it gives you a listing of all the tables you've created in that database.
alt: do a SHOW DATABASES; before you QUIT; to see all your databases