How to create a database in ISPmanager

Almost every CMS needs a MySQL database: WordPress, Joomla and OpenCart store pages, products, orders and users in it. The WordPress wizard and Softaculous create the database themselves. Create one manually when moving a site, installing a CMS by hand or for your own script.

  1. Open "Databases" → "Create a database".
The "Databases" section
The "Databases" section
  1. "Name": the database name in Latin letters, for example shopdb.
  2. Leave "Database server" as is.
  3. "Encoding": utf8mb4.
  4. "User": "Create a new user". Enter the "Username" and password, repeat it in "Confirmation".
  5. Leave "Remote access" unticked: a site on the hosting does not need it.
  6. Click "Create".
New database
New database
The database in the list
The database in the list

Details for the site

SettingValue
Database nameas shown in "Databases"
Useras shown in the database users
Passwordthe one you set
Server (host)localhost

The full database and user names may include the account prefix. Copy the names from the list, not from the form.

Example for WordPress — the wp-config.php file in the site folder:

define('DB_NAME', 'db_name');
define('DB_USER', 'db_user');
define('DB_PASSWORD', 'password');
define('DB_HOST', 'localhost');

Database users and password

Three dots on the database → "Database users" — the list of database users. Here you can add another user or change the password. After changing the password, put the new one into the site settings right away, otherwise the site can no longer connect to the database.

Common mistakes

  • "Error establishing a database connection" or "Access denied" — wrong database name, username (without the prefix) or password.
  • An IP or server name is used as the host instead of localhost.
  • An encoding other than utf8mb4 — question marks instead of text, emoji are not saved.
  • One database for several sites. Such sites are harder to move and restore separately: give each site its own database.

Tables are managed in phpMyAdmin.

Questions and answers
localhost.
utf8mb4. It supports all languages and emoji.
In the "Databases" list. Copy the names from there, not from the form.