I have a Mysql database with a large amount of data and tables. But i need to know how to use this Mysql data in the my new rails application. I\'ve been learning Rails from
If you need to import that data from your current database into the one for your app, I recommend using Sequel Pro. It's a great GUI for MySQL. You can use it to export the database you want, say as a .csv file, and import it into your new database.
Regarding your migration, running a scaffold and running rake db:migrate
will just set your database up; it won't add any data. So here, you've set it to create your products
table, and specified the data types for its attributes.
But in order to get data in there, you can only do that via a form with your application, or by importing data.