id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 10042 Impossible to specify a MySQL connection socket steph@… "It is possible that the local MySQL installation has networking disabled and located in a special path, so it is not reachable by Trac through the usual means. Looking at the code on ""trac/db/mysql_backend.py"", you are using MySQLdb.connect to create a connection to the database, and this library permits to specify a socket instead of a host (unix_socket parameter). SQLAlchemy for example permits the following DSN syntax: {{{ mysql://root@localhost/db?unix_socket=/usr/local/mysql/mysql-5.5/data/mysql.sock }}} '''Expected behaviour:''' Users should be able to specify a MySQL socket instead of MySQL host when creating a new Trac installation with ""trac-admin"". '''System Information:''' RHEL 5.3, Python 2.7, MySQL 5.1, Trac-0.12.3dev_r10578 (downloaded from SVN branch ''0.12-stable'')" defect closed normal database backend normal duplicate mysql socket trac-admin