What about an SQL export?
If you make a migration in advance, then you should be good to go.
I'm assuming you have access to SSH on both servers. To do this, first create migrations under your Laravel server which match the table columns. Migrate these migrations using php artisan migrate
. Next, you want to go to your database server and export the whole database (assuming you want to import the whole database as is without modifications later) using mysqldump -uusername -ppassword database_name > outputfile.sql
.
Then, you want to go to Laravel and import it using mysql -uusername -ppassword outputfile.sql > database_name
.
I have access to both databases, but old site is using Drupal and i want to transfer all db data in to laravel.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community