This article covers basic database operation on Webhosting. To export or import data, follow the guide Webhosting – Database Import and Export in phpMyAdmin.
In this article, you will learn:
- When to use this guide
- Database parameters
- How to create a database
- How database user accounts work
- How to manage a database
- How to find the database version
- Common issues
- Frequently asked questions
When to use this guide
- The website shows “Error establishing a database connection” or “Access denied for user”: The website cannot connect to the database.
- Installing a plugin or a CMS ends with the error “CREATE command denied”: Insufficient web user privileges.
- You need to change the database password, for example after a website compromise: Changing a database account password.
- You don’t have the email with the database access details, or you need them to move the website to another provider: Database user accounts and questions.
- You deleted the database and want to connect a new one: Deleted database.
Database parameters
Every Webhosting service includes an unlimited number of MariaDB databases.
The basic Webhosting database parameters are:
- Total database storage of 1 GB on LowCost ⧉, 2 GB on NoLimit ⧉, 5 GB on Extra ⧉
- Creation and deletion through Customer Administration
- Management through the interface phpMyAdmin ⧉
Creating a database
To create a database, follow these steps:
- Log in to Customer Administration ⧉.
- In the top menu, select Hosting services Webhosting or WMS.
- Open the specific service’s details.
- In the left menu, click the link New database.
- Name the database (max. 7 characters without diacritics), select or enter the recipient of the password email, and click create.
Alternatively, create a database directly in Webhosting details by clicking create new in the table Databases.

After creating the database, the system sends login details to the email address entered during service setup.
Database user accounts
Databases are accessible only through the web interface phpMyAdmin ⧉ and VEDOS Webhosting servers. They cannot be accessed externally or from other servers, and we do not enable such access.
After creating a MariaDB database, you receive two sets of login details:
- The user admin (whose username begins with and) has full database privileges. Use this username to manage databases exclusively through phpMyAdmin ⧉ – do not connect using it from PHP unless necessary.
- The user web (whose username begins with w) has limited privileges: it can work with data but cannot change table structure. Use this user to connect to the database from PHP.
Every database has these 2 fixed users. For security reasons, you cannot change their privileges or add new users.
When entering the database details in your PHP application, make sure you enter the following 4 details correctly (you can find them in the email about the database setup, or in the database detail in the Customer Administration):
- database server name – in the form wmX.wedos.net or mdX.wedos.net, where X is the number
- database name
- username
- password (watch for spaces before or after the password)
Database management
Changes entered in Customer Administration take effect within 30 minutes.
To access database management in Customer Administration, follow these steps:
- Log in to Customer Administration ⧉.
- In the top menu, select Hosting services Webhosting or WMS.
- Open the specific service’s details.
- In service details, find the database and click the magnifying glass icon to open its details.

Directly in Customer Administration, you can:
Changing a database account password
If you change the password of the user through which your application connects to the database, also update the PHP code that uses this account and password to access the database! If you leave the old password in the code, the database connection will not work.
You can change the password for each database account. In the table Change admin password or Change web password in database details make and save the change.

Deleting a database
Before deleting a database, we recommend backing up its data by exporting it using this guide. Deleting a database completely and permanently removes it, including all its data.
To delete a database, enter in the field in the box Delete a database the uppercase word DELETE and confirm using Delete a database.

After deletion, you cannot create a new database with the same name.
You can restore the data itself from your own or our backups, namely importing it into a newly created database. Connect the new database to the web application by updating its configuration.
Current database version
The highest available MariaDB version is currently 10.11.16.
If the software using the database does not show its version, you can check it in:
Database version in Customer Administration
To find the database version (and other information) in database details, follow these steps:
- Log in to Customer Administration ⧉.
- In the top menu, select Hosting services Webhosting or WMS.
- Select the service whose database you want to check.
- In service details, in the table Databases click the selected database name.
- In database details, next to Database server check the database version.

Database version in phpMyAdmin
To find the database version in phpMyAdmin, proceed as follows:
- Log in to the interface phpMyAdmin ⧉.
- Find the database version in the panel Database server.

Common issues
Common database problems include:
- The website cannot connect to the database
- Unsuitable database version
- Slow database
- Database unavailable from the Internet
- The web user has insufficient privileges
- Website stopped working after database changes
- Accidentally deleted database
The website cannot connect to the database
Problem: The website shows “Error establishing a database connection” or “Access denied for user”.
Cause: The application has incorrect or outdated details in its configuration file (in WordPress, wp-config.php): a wrong password or username, or the server, name and credentials of the original database, for example after moving the website to another provider.
Solution: In the database detail in the Customer Administration, check the four database details and correct them in the configuration file. The password is shown only in the database setup email. If you don’t have it, change the password and enter the new one in the configuration file as well. For a website moved elsewhere, you need the database details from the new provider.
Unsuitable database version
Problem: The application requires a different database type or version.
Solution: Our services generally do not support changing database versions.
Webhosting supports only MariaDB databases. Any other database system requires your own server ⧉.
Slow database
Problem: The application requires a different database type or version.
Cause: Database speed depends largely on its size and indexing quality. A common cause of slow performance is a missing primary database index.
Solution: Check for unnecessary entries such as archived logs and other data not actively used by the website or its components. Make sure every table has a primary index and update content indexing itself if needed.
For more information, see the community article MySQL – Performance Optimization and Indexes ⧉.
Database unavailable from the Internet
Problem: I cannot connect to the database from an application running at another provider or on my computer.
Cause: For security reasons, Webhosting database access is limited to WEDOS Webhosting and WMS services. We make no exceptions.
Solution: To manage databases, use an application on Webhosting (e.g. on an subdomain), or the interface phpMyAdmin ⧉.
Insufficient web user privileges
Problem: The application does not work correctly when I connect to the database as user web, or it reports “CREATE command denied to user”.
Cause: The application needs administrator commands, for example to create tables during CMS installation.
Solution: Enter the administrator account credentials for as long as necessary. If the application reports an error even with the admin account, check in the configuration file (in WordPress, wp-config.php) that the admin account is really set. The permissions of both accounts cannot be changed.
Website not working after database changes
Problem: After modifying the database, the website stopped working.
Cause: The most common cause is changing the password in Administration without updating the website configuration file. Part of the database required for the website may also have been damaged or deleted.
Solution: If you only changed the database password, update it in your application’s configuration file. A community guide for making this change in common content management systems is available at this link ⧉. If you changed database contents and the website stopped working, import a backup.
Deleted database
Problem: We accidentally deleted a database.
Solution: There are two types of database deletion:
- Deleted data restore from a backup.
- A deleted database (as described in the section Deleting a database) itself cannot be restored. Create a new database (with a new name) and restore backup data into it. Then update login details in the application configuration file (a community guide for common content management systems is available at this link ⧉).
Frequently asked questions
Where exactly do I set new database login details in PHP?
It depends on your application. For database connection details in common content management systems, see the community guide CMS Content Management Systems and Database Connections ⧉. For another application, ask its support team or your webmaster.
What is the difference between MySQL and MariaDB?
MariaDB is a fork of MySQL. They are compatible, and most content management systems work fully with MariaDB. If your application requires MySQL, it should also work reliably with MariaDB, and vice versa. Most of our database servers now use only MariaDB, with no option to change it. If you strictly require MySQL, a possible solution is a VPS server ⧉. Alternatively, contact Customer Support.
How do I find database login details without the service setup email?
You can find them in the configuration file of your PHP application that uses the database. The server, database name and usernames are also in the database detail in the Customer Administration; the password is only in the setup email. If you don’t have the email, you must change the database password. Beside the password change form is a table of database access details.
I’m moving my website to another provider. What do I need to transfer the database?
The database login details (see the previous question) and a data export. Export the database in phpMyAdmin following the guide Webhosting – Database Import and Export in phpMyAdmin, and the rest of the website back up. Perform the import at the new provider according to their instructions.