Index: MySQL/my.tt =================================================================== --- MySQL/my.tt (revision 15044) +++ MySQL/my.tt (working copy) @@ -21,7 +21,7 @@ max_connections = 4 thread_concurrency = 4 log-warnings = 0 -bind-address = 127.0.0.1 +bind-address = [% bindAddress %] default-character-set = utf8 default-collation = utf8_general_ci key_buffer = 2M Index: Slim/Utils/MySQLHelper.pm =================================================================== --- Slim/Utils/MySQLHelper.pm (revision 15044) +++ Slim/Utils/MySQLHelper.pm (working copy) @@ -147,6 +147,7 @@ 'socket' => $class->socketFile, 'pidFile' => $class->pidFile, 'errorLog' => catdir($cacheDir, 'mysql-error-log.txt'), + 'bindAddress' => $prefs->get('bindAddress'), ); # Because we use the system MySQL, we need to point to the right Index: Slim/Utils/Prefs.pm =================================================================== --- Slim/Utils/Prefs.pm (revision 15044) +++ Slim/Utils/Prefs.pm (working copy) @@ -126,6 +126,7 @@ sub init { my %defaults = ( # Server Prefs not settable from web pages + 'bindAddress' => '127.0.0.1', # Default MySQL bind address 'dbsource' => $DEFAULT_DBSOURCE, 'dbusername' => 'slimserver', 'dbpassword' => '',