🕺
LaravelSharedHosting
  • Some hints and best practices for deploying laravel on shared hosts
  • SiteGround Shared Hosting
    • Introduction
    • Prepare your Laravel project
    • Add a hosting account
    • SSH access to SiteGround space
    • Setup a mysql database
    • Adding a mail account
    • The master folder
    • Create a .env file
    • Connect your server to git
    • Create a deployment script
    • Link this site into your webserver
    • SSL Certificate
    • Setting up a CRON job
    • Running a Queue Worker
    • On-going deployments
    • Deploy from local development
    • Deploy using GitHub Actions
Powered by GitBook
On this page
  1. SiteGround Shared Hosting

Setup a mysql database

Using SiteTools, create a mysql database (if your Laravel App requires one)

Find this under Site>MySQL

Once the new database has been created, add a user to it.

Make sure you note the credentials provided for the database name, the username and the password, as you will not be able to dictate these, nor will you be able to see the password later, only create another. You will need the credentials when creating the .env file for use on the server.

PreviousSSH access to SiteGround spaceNextAdding a mail account

Last updated 2 years ago