# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://laravelsharedhosting.novate.co.uk/siteground-shared-hosting/setup-a-mysql-database.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
