Creating a Database
Fill in the Details
- Database name — enter a name for your database
- Database type — select MySQL or PostgreSQL
- Related site — select the domain this database is associated with
Create a Database User
Under Add a new database user, enter a username and a strong password. This user will be used by your application to connect to the database.
Connection Details
Use the following details to connect your application to the database:| Setting | Value |
|---|---|
| Host | localhost |
| Database name | As entered above |
| Username | As entered above |
| Password | As entered above |
| MySQL Port | 3306 |
| PostgreSQL Port | 5432 |
Always use
localhost as the database host when connecting from an application on the same hosting account. External database connections are not permitted on shared hosting.