T
T
tgarl2021-11-11 10:14:32
MySQL
tgarl, 2021-11-11 10:14:32

How to add mysql to server?

Good afternoon.
There is a VDS server. The site is running on it. There are no control panels, only a console in your personal account ( https://vds.timeweb.ru/ ) and FTP access.
It has nginx, php-fpm, pgsql, Laravel installed.
We want to add a new Bitrix site to it, but it, in turn, requires mysql.

How to install without breaking MySql?

If I run the mysql command in the console, I get the answer

Command 'mysql' not found, but can be installed with:

apt install mysql-client-core-5.7
apt install mariadb-client-core-10.1

As I understand it, there are mysql and mariadb installation packages in the repository.
If you install them, will the current settings break? And do I need to install both packages or just 1?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anton Kuzovov, 2021-11-11
@tgarl

I recommend apt install mariadb-client-core-10.1
It won't break anything. Well, then configure this database. Start by creating a user and a database. Well her default port is 3306

P
pavelsha, 2021-11-11
@pavelsha

Why take naked VDS under Bitrix?
Timeweb definitely has tariffs with a ready-made Bitrix environment. In my opinion, they will cost even less than a naked virtual machine.
And there is also
1C-Bitrix: Web environment "- Linux (BitrixEnv)
https://dev.1c-bitrix.ru/learning/course/index.php... The script
will allow you to install and configure most of what is needed for Bitrix .
And at least some scripts for managing the VM will give
Z.Y. But doesn't Bitrix know how to work with PostGress?

D
Drno, 2021-11-11
@Drno

Hire a system administrator, otherwise you will break all
2 different sub-databases on one server - not good.
deploy Bitrix to postgress or a website and Bitrix to mysql,
or buy a ready-made VDS with Bitrix, I think it will really work out cheaper for you

V
Viktor Taran, 2021-11-11
@shambler81

at your level of knowledge, install bitrix vm
or centos 8 and also install bitirks vm with a script in 1 click.
If you don’t know how to install mysql
, believe me, this will be the best option
. There are also several more options
https://aapanel.su - put in 1 click
https://vestacp.com - Put in 1 click
https://brainycp.com/ - also 1 click
All for free latest proprietary but still free.
But it is desirable to put all this on a clean server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question