On 03.05.19 16:35, David Osborne wrote:
I was hoping someone could help us understand what's happening below.
We use the nsdbpg driver to access our main PostgreSQL database, but
we have a requirement to occasionally access a MysQL server database also.
We thought Tcl8.6's tdbc might be an easy way to do this...
the recommended approach is to use one of the NaviServer drivers for
mysql (e.g nsdbmysql or nsdbimy).
The problem seems to be, that the Tcl package you are using is not
serializable for the blueprints. In general, it is not so clear, what
should happen with (maybe open) Tcl managed connections, when the
blueprint is reloaded. Using the connection pools of the NaviServer
modules are probably faster, easier to manage and agnostic to blueprint
reloading.
all the best
-gn
--
Univ.Prof. Dr. Gustaf Neumann
WU Vienna
Institute of Information Systems and New Media
Welthandelsplatz 1, A-1020 Vienna, Austria
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel