Was happy finally having mysqltcl. Though it didnt last long. Once I try to connect to mysql i get:
Tcl error [sdt:chat]: mysqlconnect/db server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
though the problem is have apache running with a site using mysql and it connect without a problem to mysql, BUT through socket:
/opt/lampp/var/mysql/mysql.sock
So, how to force mysqltcl to connect same ?
Im someone opposite to a tcl-guru, so forgive me.
if you show us how your using mysql::connect then maybe we can help.
If the port is the default (3306), dont add the -port option, if the mysql server is local, put -host localhost instead of 127.0.0.1. I find it best to put the -db option first, followed by -user -password and then -host.
I found that it doesn't work some ways, but it always seems to work in that order for me...