How can I change MariaDB to MySQL in XAMPP?

Running XAMPP with MySQL Here are exact step by step instructions for truly integrating MySQL into XAMPP on Windows. This has been successfully tested with Windows 10 and XAMPP 7.3.11 for both MySQL 8.0.18 and 5.7.28. Stop MySQL (which actually is MariaDB) in the XAMPP Control Panel. Download the MySQL community server as zip archive … Read more

Difference between utf8mb4_unicode_ci and utf8mb4_unicode_520_ci collations in MariaDB/MySQL?

Well, you can read about the differences in the documentation. I can’t tell you what you should be using because every project is different. 10.1.3 Collation Naming Conventions MySQL collation names follow these conventions: A collation name starts with the name of the character set with which it is associated, followed by one or more … Read more

Invalid syntax error “type= MyISAM” in DDL generated by Hibernate

The problem is that – in Hibernate 5.x and earlier – the dialect org.hibernate.dialect.MySQLDialect is for MySQL 4.x or earlier. The fragment TYPE=MYISAM that is generated by this dialect was deprecated in MySQL 4.0 and removed in 5.5. Given that you use MariaDB, you need to use (depending on the version of MariaDB and – … Read more

Completely remove MariaDB or MySQL from CentOS 7 or RHEL 7

These steps are working on CentOS 6.5 so they should work on CentOS 7 too: (EDIT – exactly the same steps work for MariaDB 10.3 on CentOS 8) yum remove mariadb mariadb-server rm -rf /var/lib/mysql If your datadir in /etc/my.cnf points to a different directory, remove that directory instead of /var/lib/mysql rm /etc/my.cnf the file … Read more