Issue with tmysql module

-snip-

Got it working, sorry for this useless thread.