Page 1 of 1

MySQL to MariaDB.

Posted: 2019/05/18 11:03:06
by hack3rcon
Hello.
On an old CentOS server, I have a MySQL and on a new CentOS server, I installed MariaDB. On old server my DB are:

Code: Select all

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| livezilla          |
| mysql              |
| performance_schema |
| store              |
| temp               |
| test               |
+--------------------+


mysql> select user from mysql.user;
+-----------+
| user      |
+-----------+
| jason   |
| root      |
| jason   |
| jason   |
| root      |
| livezilla |
| magento   |
| root      |
+-----------+
It is a web server with "Magento" CMS. I want to migration my old CentOS to a new one. How can I create a backup from my DB and is it possible to export MySQL to MariaDB?
On old CentOS, the username is "jason" and on new CentOS, the username is "john", Can it cause any problem? In "mysql.user", the "jason" username created automatically or by system administrator?

Thank you.

Re: MySQL to MariaDB.

Posted: 2019/05/18 11:39:50
by TrevorH
man mysqldump

Re: MySQL to MariaDB.

Posted: 2019/05/18 19:58:40
by hack3rcon
TrevorH wrote:
2019/05/18 11:39:50
man mysqldump
Thanks, but how about usernames?

Re: MySQL to MariaDB.

Posted: 2019/05/19 10:40:50
by hunter86_bg
Just try with full dump & restore.