2

I am looking to use mariadb and wanted to know if I can using the same was DSN I was using for mysql:

mysql:host=localhost;dbname=wp;port=8889
json6
  • 85
  • 5

1 Answers1

3

Yup, as MariaDB is essentially a drop in replacement for MySQL. So anything that works with MySQL, including the DSN should work in MariaDB too.

Adam Lavin
  • 753
  • 7
  • 15
  • 1
    There's some exceptions, MariaDB can take a while to merge newer features from MySQL, but for 99% of it there's no difference. – tadman Sep 03 '17 at 00:52