Thanks again. Does this config snippet look OK?
Getting the following error on startup using both the tip code versions, and the versions in the 4.99.18 tarballs: [03/May/2019:20:52:12][25299.7fcd9d1de700][-main-] Notice: modload: loading module ns/db/driver/mysql from file nsdbmysql [03/May/2019:20:52:12][25299.7fcd9d1de700][-main-] Error: modload: /usr/local/ns/bin/nsdbmysql.so: couldn't load file "/usr/local/ns/bin/nsdbmysql.so": /usr/local/ns/bin/nsdbmysql.so: undefined symbol: Ns_DbDriverName [03/May/2019:20:52:12][25299.7fcd9d1de700][-main-] Error: dbdrv: failed to load driver 'mysql' <----> ns_section "ns/server/default/modules" { ns_param nscp nscp ns_param nssock nssock ns_param nslog nslog ns_param nscgi nscgi ns_param nsdb nsdb } ns_section "ns/db/drivers" { ns_param mysql nsdbmysql.so ;# Load MySQL driver } ns_section "ns/db/pools" { ns_param dbpool "MySQL Pool" } ns_section "ns/db/pool/dbpool" { ns_param driver mysql ns_param connections 5 ns_param user dbuser ns_param password xxxx ns_param datasource hostname:3306:databasename ns_param verbose on } On Tue, 7 May 2019 at 15:20, Gustaf Neumann <neum...@wu.ac.at> wrote: > On 07.05.19 15:25, David Osborne wrote: > > Trying nsdbmysql now. > > > > Getting a few compiler warnings when building - are these all fairly > > benign? > > yes > > if you take the released version of the module (from the modules tar > file) and compiled this > against the latest released version of NaviServer you see less warnings. > > however, i have just now updated the module on bitbucket to compile > cleanly with "-wall -pedantic" > > all the best > > -gn > > > > _______________________________________________ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- *David Osborne | Software Engineer* Qcode Software, Castle House, Fairways Business Park, Inverness, IV2 6AA *Email:* da...@qcode.co.uk | *Phone:* 01463 896 484 www.qcode.co.uk
_______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel