Create a new MySQL database in Hostinger from the Databases page of your website by clicking Add database and entering a database name, username, and password. The new database and its MySQL user are created together, and the database appears on the website’s Databases page, where you can manage it.
Create a MySQL database in Hostinger dashboard
- Go to Websites → Manage site for the website that will use the database, and select Databases in the left sidebar.
- Click Add database.
- Select Create a new database and click Continue.
- In the Create a MySQL database and user window, enter the MySQL database name, such as
shop. - Enter the MySQL username, such as
shopuser. - Enter a Password, or click Generate password to create a strong one.
- (Optional) Select Import data from a file to bring in tables and data from a backup.
- Click Create.
Keep the following in mind when you create a database:
- The first part of the database name and username, such as
u123456789_, is unique to your account and can’t be removed or changed. - Each database can only have one user. If you require multiple users, consider a VPS plan.
- The database password must contain at least one number and one uppercase and lowercase letter, with a minimum length of 8 characters.
To import a database into an existing database instead, see how to import a database from the Hostinger dashboard.
Your new MySQL database is ready to use, and its connection details appear on the database’s page.
Manage your new database


