shivanshus3 Migrating your database from one server to another can be done in one of the following ways.
On server A, backup your files and database.
1) On server B
- Restore your database
- Then, restore your files
2) Or, on server B
- Do a fresh install
- Delete existing database tables
- Then, restore your database
If you face issues with signing in, copy the
config/app.php configuration file from server A to B.