tmysql support

Also checked if the user is using the module before requiring it, and added socket support.