How to import a dump database to the application?

Modified on Tue, 31 Jan, 2017 at 2:48 PM

For Normal Installation:- 


Login to the server where Fedena is installed. 

To import dump database into Fedena application, command is


mysql -u'mysql_username' -p 'database_name' < 'dump_database_path'

Where mysql_username is the username given while creating the database and database_name is the name of the database


Refer the Fig 1


28.png

Fig 1



For installation within Docker:-


Login to the server where Fedena is installed. After that login to the Application docker container . 

Following is the command to import dump database into Fedena application-


mysql -u'mysql_username' -p 'database_name'  -h'host_ip'< 'dump_database_path'


Where mysql_username is the username given while creating the database and database_name is the name of the database and host_ip is the host machine ip.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article