Fix socketfile database connections
Previously, if the configuration included a socketfile, the value of sock in init-inner-database-item was #t. This leads to the connection failing as the dbd connection string looks like:
chris::test_database:socket:#t
With this change, the connection string contains the socketfile value:
chris::test_database:socket:/tmp