Node-mysql with mariadb
mariadb, mysql, node.js
Solution
No, it doesn't matter which you use. MariaDB is backwards compatible with MySQL. You could even connect to MySQL with node-mariasql if you wanted.
Problem
I already use mariadb as a mysql server. However, I'm not sure using a node package designed for mysql is a good idea to use for mariadb. There are actually two node packages: - For mscdex/node-mariasql - For mysqljs/mysql I currently use mysql, since it seems pretty mature and maintained. It also seems to work well with mariadb on my side. Are there any restrictions/incompatibilities/security issues to use mysqljs/mysql over mscdex/node-mariasql for a mariadb server? Thanks