LuckyBX Русский
Server

Database

Each site has its own database, its own user and its own password.

Name and password#

luckybx site info shop.example.com

Open the database#

As root no password is needed. On a server with MariaDB:

mariadb database_name

With Percona Server the command is different:

mysql database_name

The database is not reachable from outside, it listens only on the server itself. To open it with a program on your computer, connect through SSH: almost all such programs can do it. The database address is then 127.0.0.1, port 3306.

Change the password#

luckybx site db-password shop.example.com

The password changes at once in the database and in the Bitrix settings. Change it by hand only this way, otherwise the site will not connect.

Database copy#

The database is part of the site backup. There is no need to dump it separately.

Database care#

Once every 28 days at night the server checks and optimizes the tables by itself. It is the same as "Database optimization" in the Bitrix admin area.

MariaDB or Percona#

The database is chosen at installation and cannot be changed later. The default is MariaDB 11.8. Percona Server is a MySQL build, BitrixVM uses it.