- Joined
- Feb 27, 2003
- Messages
- 8,509
Hi guys,
As many of you are away, there is the eternal debate between MySQL vs MariaDB, but at the end of the day, there is no single "correct" answer.
Although Debian 10 currently defaults to MariaDB 10.3, CentOS 7 still defaults to MariaDB 5.5 to allow the admin to change to *any* version without needing to wipe the data.
We're considering changing new installs (CentOS 7 at the moment) to default to MySQL 5.7.
Using this version has many benefits, including increasing the username length in DA to help with cpanel imports,
BUT the catch is you're locked to this version, cannot go down to 5.5 nor 5.6 (not sure if you'd want to anyway),
but also means you can only slide over to MariaDB 10.2 or 10.3.. which might also be fine. MariaDB 5.5, 10.0 and 10.1 would be gone.
As it happens Martynas has just added a feature into CustomBuild 2.0.0 rev 2171 that lets you much more easily re-install the whole works from scratch (mainly only useful for a fresh install without any data yet), where you can nuke your /var/lib/mysql folder (assuming you don't have any data yet), and when you run
it with remove and re-install the correct rpms, rebuild the data, and setup the conf/mysql.conf again with the da_admin User. So if you did need 5.5 or 5.6, this is the option.
So there shouldn't be too many reasons not to make this change to use MySQL 5.7 as the default, but just figured it would be wise to get feedback before moving forward with it.
Feedback welcome.
John
As many of you are away, there is the eternal debate between MySQL vs MariaDB, but at the end of the day, there is no single "correct" answer.
Although Debian 10 currently defaults to MariaDB 10.3, CentOS 7 still defaults to MariaDB 5.5 to allow the admin to change to *any* version without needing to wipe the data.
We're considering changing new installs (CentOS 7 at the moment) to default to MySQL 5.7.
Using this version has many benefits, including increasing the username length in DA to help with cpanel imports,
BUT the catch is you're locked to this version, cannot go down to 5.5 nor 5.6 (not sure if you'd want to anyway),
but also means you can only slide over to MariaDB 10.2 or 10.3.. which might also be fine. MariaDB 5.5, 10.0 and 10.1 would be gone.
As it happens Martynas has just added a feature into CustomBuild 2.0.0 rev 2171 that lets you much more easily re-install the whole works from scratch (mainly only useful for a fresh install without any data yet), where you can nuke your /var/lib/mysql folder (assuming you don't have any data yet), and when you run
Code:
./build mysql
So there shouldn't be too many reasons not to make this change to use MySQL 5.7 as the default, but just figured it would be wise to get feedback before moving forward with it.
Feedback welcome.
John