Project

General

Profile

where is MySQL / PostgreSQL backend?

Added by Andrey Rusanov over 5 years ago

Hi there,

the documentation says: "Comes with Sqlite3, Firebird, MariaDB/MySQL and PostgreSQL backends"

I've build (ENABLE_POSTGRES:BOOL=ON ENABLE_MYSQL:BOOL=ON) and install Wt, but there is no appropriate headers and lib files.


Replies (2)

RE: where is MySQL / PostgreSQL backend? - Added by Roel Standaert over 5 years ago

It will only actually build it if CMake can find the right client libraries.

On Ubuntu for example, you need the libpq-dev package and either the libmysqlclient-dev package or the libmariadbclient-dev package.

    (1-2/2)