Deploy Laravel Database into Hostinger (Shared Hosting)

1 comment

One sweet thing about Laravel Framework is that it enables you to quickly set up defined databases with a single command php artisan migrate. Since we are using shared hosting, we can not do this without the use of SSH. This can be done easily if you have up to 10 tables. It's straightforward so let's start:

1.  Open up your Hostinger PHPMyAdmin. Create a new database.
2. Change Laravel .env file according to the database that you have been created and change APP_DEBUG into False.

3. Export project database from your localhost. There are many ways to export your local database. For example, you can use PHPMyAdmin. At this moment I use mysqldump command to export my local database.

4. After exporting move over to your shared hosting and import the SQL file into Hostinger database that you have been created.

5. If all goes well, you should have your site working fine now. So go ahead and try it out.

keywords: Laravel, Deploy Laravel database, Deploy Laravel database to hosting, Hostinger, Laravel on Hostinger

Related Posts

1 comment

  1. Slot machine games - Drmcd
    In 수원 출장마사지 the casino game of the land, the 강원도 출장마사지 object of the game is to obtain the bonus. Each spin is worth 10, and it may be 밀양 출장샵 worth 5x the 출장마사지 prize. For the 전라남도 출장샵 maximum win you can


Post a Comment