summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database/config/pdo/mysql.php
diff options
context:
space:
mode:
authorPhil Sturgeon <me@philsturgeon.com>2021-11-17 17:29:32 +0100
committerPhil Sturgeon <me@philsturgeon.com>2021-11-17 17:29:32 +0100
commit47c6b45f524f826e56aff8e77bf289bcbfa1b51d (patch)
treee2533dc0e74d62480b52550a13385168aa9f1992 /tests/mocks/database/config/pdo/mysql.php
parentd49ffb0cbbb19b552bf8f33cbfe9e52505eae21e (diff)
parent5ad670dea78cc0f0c0fd690220a243a905cb06bf (diff)
Merge branch 'php80-patch1' of https://github.com/sapics/CodeIgniter into ci3-php8
Diffstat (limited to 'tests/mocks/database/config/pdo/mysql.php')
-rw-r--r--tests/mocks/database/config/pdo/mysql.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/mocks/database/config/pdo/mysql.php b/tests/mocks/database/config/pdo/mysql.php
index 96608f787..89e9fb130 100644
--- a/tests/mocks/database/config/pdo/mysql.php
+++ b/tests/mocks/database/config/pdo/mysql.php
@@ -4,10 +4,10 @@ return array(
// Typical Database configuration
'pdo/mysql' => array(
- 'dsn' => 'mysql:host=localhost;dbname=ci_test',
- 'hostname' => 'localhost',
+ 'dsn' => 'mysql:host=127.0.0.1;dbname=ci_test',
+ 'hostname' => '127.0.0.1',
'username' => 'travis',
- 'password' => '',
+ 'password' => 'travis',
'database' => 'ci_test',
'dbdriver' => 'pdo',
'subdriver' => 'mysql'
@@ -16,7 +16,7 @@ return array(
// Database configuration with failover
'pdo/mysql_failover' => array(
'dsn' => '',
- 'hostname' => 'localhost',
+ 'hostname' => '127.0.0.1',
'username' => 'not_travis',
'password' => 'wrong password',
'database' => 'not_ci_test',
@@ -24,10 +24,10 @@ return array(
'subdriver' => 'mysql',
'failover' => array(
array(
- 'dsn' => 'mysql:host=localhost;dbname=ci_test',
- 'hostname' => 'localhost',
+ 'dsn' => 'mysql:host=127.0.0.1;dbname=ci_test',
+ 'hostname' => '127.0.0.1',
'username' => 'travis',
- 'password' => '',
+ 'password' => 'travis',
'database' => 'ci_test',
'dbdriver' => 'pdo',
'subdriver' => 'mysql'