Replace MariaDB with MySql?

Jahn

Registered
Aug 31, 2018
4
0
1
Chennai
cPanel Access Level
Root Administrator
Is there a guide (if its possible) how to replace MariaDB with MySQL on a cpanel VPS?

My VPS provider installs MariaDB by default. I can re-import the databases, so I don't mind losing anything, but I would prefer having the VPS and Cpanel using MySQL. Is this possible to do? Are there any guides for this?
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,770
324
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Downgrading to MySQL once you are in MariaDB is not a supported operation. Best bet is to have them give you a new VM with MySQL installed instead and migrate your sites.
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,295
313
Houston
@GOT is correct there is no supported path from MariaDB to MySQL - but since MariaDB is a drop-in replacement for MySQL there shouldn't be any issues with utilizing it instead of MySQL. As noted already the best option would be to provision a server with MySQL already.