Can I use the same PDO dsn for connecting to mariadb?

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


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.