Answer the question
In order to leave comments, you need to log in
How to correctly transfer the database to gitHub?
Good afternoon. Wrote a small application in angularjs. The main data is loaded from a database that is stored in the openServer folder. The application itself is deployed through it. Now I am connecting to the database via PHP:
<?php
$db = mysqli_connect('localhost', 'root', '', 'angularjs') or die('Ошибка соединения!');
mysqli_set_charset($db, 'utf8') or die ('Не установлена кодировка!');
Answer the question
In order to leave comments, you need to log in
You can post a core data dump
www.ihp.sinica.edu.tw/dashboard/docs/backup-restor...
If you need to get a structure and a little bit of basic data, migrations and fixtures can help.
If you need to fill in a huge pile of data, then a dump is already easier.
You can automate deployment using Docker Compose.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question