F
F
fantua2014-03-15 23:16:10
MySQL
fantua, 2014-03-15 23:16:10

How to transfer mariadb to another server?

Hello.
How can I move the database to another server?
There are only data files from /var/lib/mysql
When replacing this folder on the new server with the old one, mariadb refuses to start. There is nothing in the logs.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
@
@mgyk, 2014-03-16
_

1) Check file permissions chown -R mysql:mysql /var/lib/mysql
2) Transferring files is not the best idea

A
Alexander Melekhovets, 2014-03-16
@Blast

Did you feed the same configuration as on the old server? If not, then do it if possible. I won’t say for mariadb, but mysql didn’t start, for example, if innodb_log_file_size in the config did not match the actual size.

P
Puma Thailand, 2014-03-16
@opium

The log should always be there, look where it goes in the config, check all the rights to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question