If you compiled with the socket file as /tmp/mysql.sock then you are all set because your default and the turbogears default are the same. However, if you compiled and your socket file was in some other location, then you'd want to specify it.
You could always specify it anyway for example, but it would be functionally the same a leaving it off: msql://user:[EMAIL PROTECTED]/dbname?unix_socket=/tmp/mysql.sock

