You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update Contributing to mention backup information
* Changing MYSQL_ROOT_HOST to allow more connections.
* Changed name of file
* Adding some info about the new database
* Update docs/CONTRIBUTING.md
* Removing backtick in docker command
To restore this database to a new database you had created as an admin called student_dashboard_new (CREATE database student_dashboard_new). You can also just restore it to the same database (student_dashboard).
182
+
183
+
```sh
184
+
docker exec -i student_dashboard_mysql mysql -uroot -pstudent_dashboard_root_pw student_dashboard < student_dashboard.sql
185
+
```
186
+
187
+
Note: It's possible you may need to recreate the database (delete the .data directory) if your value in docker-compose was `MYSQL_ROOT_HOST="0.0.0.0"` which makes it difficult to connect to MySQL.
175
188
176
189
### Dependency Upgrade
177
190
178
191
For Auto-upgrade django to future version, use the helpful library called [django-upgrade](https://github.com/adamchainz/django-upgrade )
0 commit comments