Skip to content
xYnta
Go to websitexynta.com
Search
EN

Creating a new database

Updated on

A website such as WordPress or an online shop stores its data in a database. You create a database with a database user; your website uses those details to connect to the database.

Web Hosting (DirectAdmin)

Also for Reseller Hosting.

  1. Log in to DirectAdmin via Single Sign-On from Mijn xYnta, or at https://yourdomain.nl:2222.
  2. Under Account Manager, click Databases.
  3. Under Create Database, enter the name of the database in Database Name, for example wordpress.
  4. Click CREATE.
  5. Write down the details in the Database created window: Hostname, Database, Username and Password. DirectAdmin shows them only once. Then click Dismiss.
The Databases screen in DirectAdmin with the Create Database form
Databases, with Create Database at the bottom

Note: the name of the database and of the database user always starts with the username of your hosting package and an underscore, for example username_wordpress. DirectAdmin creates a database user with the same name and a secure password. If you want to choose a username and password yourself, click Advanced mode first.

WordPress Hosting (Plesk)

  1. Log in to Plesk at https://whs1.srvnl.nl:8443. You can find your server name in How can I find the server name of my hosting package?
  2. Click Databases in the menu on the left.
  3. Click Add Database.
  4. Under Database name, enter the name of the database.
  5. If you like, choose the website that will use the database under Related site.
  6. Leave Create a database user ticked and enter a username under Database user name.
  7. Under Password, enter a strong password, or click Generate. Plesk refuses a password that is not strong enough.
  8. If you like, tick User has access to all databases within the selected subscription.
  9. Click Create Database.

Note: keep the password of the database user in a safe place. Your website needs it to connect.

Your website connects to the database via the host localhost, with the name of the database, the database user and the password.

Video

Creating a new database in DirectAdminYouTube
Creating a new database in PleskYouTube

Related articles