diff --git a/config.default.inc.php b/config.default.inc.php index 9ee2023..ec2be20 100644 --- a/config.default.inc.php +++ b/config.default.inc.php @@ -137,14 +137,17 @@ $dbtype = 'mysql4'; * * @var string */ -$dbhost = '127.0.0.1'; +$dbhost = 'localhost'; /** - * Database port + * Database port. + * + * When using mysqli, leave this to null + * - connecting will fail otherwise. * * @var string|integer */ -$dbport = 3306; +$dbport = null; /** * Database username diff --git a/config.inc.php.dist b/config.inc.php.dist index f75876e..2615bc6 100644 --- a/config.inc.php.dist +++ b/config.inc.php.dist @@ -101,13 +101,6 @@ $dbname = 'scuttle'; * * @var string */ -$dbhost = '127.0.0.1'; - -/** - * Database port - * - * @var string|integer - */ -$dbport = 3306; +$dbhost = 'localhost'; ?>