Help Docs Control Panel Guides Nexcess Control Panel Nexcess Flex Plans Nexcess Flex Plans Database Management MariaDB Databases & MariaDB Setup in the Nexcess Cloud

MariaDB Databases & MariaDB Setup in the Nexcess Cloud

Learn how to create and manage MariaDB databases and users in the Nexcess Client Portal. This guide covers setup, password retrieval, and assigning user permissions.

Overview

MariaDB is an open-source relational database management system often used as a replacement for MySQL. Managing databases is a critical task for maintaining website functionality and data security. This guide explains how to manage your MariaDB setup using the Nexcess Client Portal. It covers the steps to create databases and users, retrieve and reset user passwords, and assign specific user permissions for Managed Magento and Flexible Cloud plans.

Managing Your MariaDB Setup

  1. Login to my.nexcess.nethttps://my.nexcess.net using a super user account.
  2. Navigate to the plan option as shown below screenshot.
Step 2
  1. Select the plan on which you wish to create or edit the database/user.
  2. Select the database option from the menu shown on the screenshot below, where you can do the MariaDB setup on the account. It will take you to the MariaDB setup section, where you can see various options such as phpMyAdmin access and database/user creation.
Step 4

  1. If you wish to create a new database/user, then click on Add a database and user option.
  2. Add database and user option will pop up a new screen, where you can create the new database and user. Once username and database are selected, click on Add. It will create both a database and a user.
7 Character limit
Please note that you can only use seven characters while creating a new database user. It is a default rule set for MariaDB setup.

  1. If you only wish to create a database alone and want to assign an existing user to the newly created database, then you can select the Plus symbol next to the database. From there, you can create a new database alone.

The plus sign will pop a new window, as shown below. Once database details are filled, click on Add.

The plus sign will pop a new window, as shown below. Once database details are filled, click on Add.

Obtaining the Password of a Newly Created User Database User

To obtain the password of a newly created database and user, following these steps:

  1. Navigate to the user section under the Database menu, showing the MariaDB database available on the account.
  2. Click on the + sign next to the newly created database user.
  3. To access the database user’s password, click on View password option.
  4. A new webpage will pop up on the screen, and you can see the view password option and click on it. Taking this action will display the password details of the database user.
Maximum Views
Please note the maximum number of times you can view the password is 15. Also, another limit is that the view password option expires if one of the below conditions is reached:

  • When the expiration date shown on the page is reached, the view password option will disappear.
  • The view password option will disappear if you use up all 15 views before the expiry date.

How to Access or View the Password Once the View Password Option Expires

If the View Password Option expires, you can generate a new password for the MariaDB database user. Please note that after generating the new password, you must update the application configuration so that the website can connect to the database.

Assigning Different Users Access to the Newly Created Database

To assign different users access to the newly created database, follow these steps:

  1. Click on the Control Panel menu option (you may need to “show more options” to see the control panel link).
  2. Now click on the Launch control panel option; this will take you to the control panel.
  3. Make sure you are adjusting settings for the correct domain name.
Step 4

 

  1. Once selected, correct domain name > click on Hosting Feature > MySQL > MariaDB database option.
Step 5

Here you can identify the MariaDB database on which you want to assign a new user.

  1. Select the Manage user option to assign additional users to the database.
Step 6
  1. The Manage User option will take you to a new screen where you can assign an existing user and permission for the database. Select the correct user from the dropdown option and grant all permissions. The drop down will show the MariaDB database list on the account.
  2. Click on the Add option to complete the process.

Frequently asked questions

No, but you can use the regenerate password option to generate a new password.

You can access the database using the phpMyAdmin option under the database menu.

More details can be found in the Using phpMyAdmin: Frequently Asked Questions (FAQ) article.

You can enable remote access to the database by accessing the control panel > Firewall Rules.

Yes, it is possible to replace MySQL with MariaDB. MariaDB is considered to be a drop-in replacement for the corresponding MySQL version for example — MariaDB 10.2 and MySQL 5.7 and so and so forth.

The short answer is yes. When it comes to performing queries or replication, MariaDB is significantly faster than MySQL. Therefore, if you need a high-performance relational database solution, MariaDB is an excellent choice. Furthermore, MariaDB also supports a large number of concurrent of connections without much performance degradation.

Was this article helpful?