summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database/config/pdo/mysql.php
diff options
context:
space:
mode:
authorsapics <gv.nishino@gmail.com>2021-01-16 08:13:37 +0100
committersapics <gv.nishino@gmail.com>2021-01-22 10:34:23 +0100
commit5ad670dea78cc0f0c0fd690220a243a905cb06bf (patch)
tree2ccb6680e9a19da37762083c613dc11157779951 /tests/mocks/database/config/pdo/mysql.php
parent624ddad97028087ee4d61ab90827b944a192f65e (diff)
Replace travis-ci to github actions for php8.0
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'