lunarmodules / luasql

LuaSQL is a simple interface from Lua to a DBMS.
http://lunarmodules.github.io/luasql
539 stars 191 forks source link

LuaSQL with MariaDB #64

Closed Obi8 closed 5 years ago

Obi8 commented 7 years ago

Can i use luasql with mariadb?

tomasguisasola commented 7 years ago

To use LuaSQL you have to choose a driver and there is no driver for MariaDB. But since it seems to be similar to MySQL (to which there IS a driver) is should not be difficult to create a driver for it.

Regards, Tomás

On 2016-11-26 16:46, Obi8 wrote:

Can i use luasql with mariadb?

-- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].

*

Links:

[1] https://github.com/keplerproject/luasql/issues/64 [2] https://github.com/notifications/unsubscribe-auth/AAIA7Wty_giQvVerHsPtbcc9Xt5BhEJeks5rCH55gaJpZM4K89l0

Obi8 commented 7 years ago

Thanks for the information.

ntd commented 7 years ago

...there is no driver for MariaDB.

MariaDB is not a different database, it is a fork and drop-in replacement of MySQL, developed by the original maintainer of MySQL. As such it must work out of the box.

Depending on your distro you may need to install additional dependencies. In Archlinux you just need libmariadbclient while on Debian you need either libmariadb-client-lgpl-dev and libmariadb-client-lgpl-dev-compat.

tomasguisasola commented 5 years ago

Is that problem solved?