I just do it from the shell (command) prompt
On Friday, 10 July 2015 09:16:38 UTC+1, Dmitriy wrote:

import command running i in mysql console or whe?

пятница, 10 июля 2015 г., 11:11:10 UTC+3 пользователь Mike написал:
First run the migrations, so that Rails has the database in the situation
that it thinks is right, then you can import the data (which I hope is in
the same database format)

To import the data, you should be able to use something like

mysql -u username database < database_dump.sql

On Friday, 10 July 2015 08:50:05 UTC+1, Dmitriy wrote:


I have source code of project with migrations. i want run this project
on my pc. I want create new mysql DB and import dates from dump file.

I cant undestand very good how correct import dump sql file in mysql

First need i run migrations in project? And second import values from
dump file? Please, help me. Thank you.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/58f75e61-24d1-4cd6-b4bc-e8a4fa58dc46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 5 | next ›
Discussion Overview
grouprubyonrails-talk @
postedJul 10, '15 at 7:50a
activeJul 10, '15 at 12:56p

2 users in discussion

Dmitriy: 3 posts Mike: 2 posts



site design / logo © 2021 Grokbase