Thats how I have: set sqlhand [mysqlconnect -host $sdt(hostname) -user $sdt(username) -password $sdt(password)] mysqluse $sqlhand $sdt(database) And I still get: Tcl error [sdt:chat]: mysqlconnect/db server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Even if...