Hi,

On Fri, 2012-06-29 at 13:39 +0200, Carlos Franke wrote:
> /usr/lib/tntdb/libtntdb3-"mysql.so: cannot open shared object file: No
> such file or directory
...
> /usr/lib/tntdb/tntdb3-mysql.so
...
> What is going wrong? Is this a bug, or am I doing something wrong?

Check your connection string for quotes, it should be something like:

mysql:dbname=foo user=foo passwd=foo

I expect you use a double quote somewhere in your config:

"mysql:dbname=foo user=foo passwd=foo"

This will not work and lead to an error as your's. Furthermore you
should open any tntdb connection only inside a try block, thus you
program will not end just because the db is offline or you use a wrong
password.

However, we could do a better job checking for invalid connection
strings, the handling of a quoted connection string is somewhat buggy,
'"mysql' will never be a valid library driver and should be rejected
with a more helpfull error message.


Regards,
Julian


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to