Reconfigured database username
Seems @travis-ci did make some changes as per their blog. Updated code to use the username `root` for connections instead of no user.
This commit is contained in:
parent
4645ac95eb
commit
fea03520c8
2 changed files with 3 additions and 3 deletions
|
@ -33,8 +33,8 @@ before_script:
|
|||
- echo "[uopz]" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- echo "uopz.overloads=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- cat ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- mysql -e 'create database test;'
|
||||
- mysql test < tests/schema.sql
|
||||
- mysql -e "create database IF NOT EXISTS test;" -u root
|
||||
- mysql test < tests/schema.sql -u root
|
||||
- mkdir -p build/logs
|
||||
|
||||
script:
|
||||
|
|
|
@ -59,7 +59,7 @@ class DatabaseTest extends PHPUnit_Framework_TestCase
|
|||
'type' => 'mysql',
|
||||
'driver' => 'pdo_mysql',
|
||||
'hostname' => 'localhost',
|
||||
'username' => '',
|
||||
'username' => 'root',
|
||||
'password' => '',
|
||||
'database' => 'test',
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue