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:

mysql:host=localhost;dbname=wp;port=8889

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.