Displaying 2 results from an estimated 2 matches for "driver_mysql".
2006 Jul 28
1
Quota with dict backend - sql does not get registered
...that the module and db are talking in general.
I've scoured the documentation and dug through the code but I can't seem
to discover the solution. There is "Dynamic SQL drivers" in the
compiling from source section:
http://wiki.dovecot.org/CompilingSource#line-158
I compiled the driver_mysql.so, copied it to lib/dovecot/, symlinked it
into auth/, imap/, pop3/ and lda/, then tried-- but it still only showed
"proxy" as being loaded. After that I added it to the mail_plugins list,
mail_plugins = driver_mysql quota
but it didn't like that and spat out some linking errors:...
2007 Dec 07
1
Compiling with SQL support
...I do no wish to install MySQL on this server, as I am using a
network SQL server, but I do have the compiled source available on this
server. I have tried running:
gcc -shared -fPIC -DHAVE_CONFIG_H -DBUILD_MYSQL \
-I../.. -I../lib -I../lib-settings -I/data/mysql/include/mysql \
driver-mysql.c -o driver_mysql.so -lmysqlclient
inside the /src/lib-sql, but this just returns an error that mysqlclient
cannot be found.
I have tried running dovecot --build-options, but MySQL is not listed
here, the operating system is FreeBSD 6.2.
The documentation does not seem to be giving any hints as to why this is...