Skip to content

Commit

Permalink
mysql Test post commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
b23prodtm committed Nov 30, 2018
1 parent d72f271 commit 68796be
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,14 @@ Answer 'y' when prompted.

5. How to fix up 'Database connection "Mysql" is missing, or could not be created' ?

Check your environment variable (./Scripts/bootargs.sh or Docker/Pod settings)
Check your environment variable (./Scripts/bootargs.sh or Docker/Pod settings), case-sensitive !:

TEST_DATABASE_NAME=cakephp_test
TEST_DATABASE_USER=test
TEST_DATABASE_PASSWORD=<password>
TEST_DATABASE_SERVICE_NAME=Mysql
TEST_DATABASE_Mysql_HOST=localhost or mysql on OpenShift
TEST_DATABASE_Mysql_PORT=3306

Log in with authorized privileges from a shell prompt:

Expand All @@ -135,7 +140,7 @@ Run the socket fixup script with arguments:

With the CLI, you may ctrl-X ctrl-C to exit server and migrate your database:

./migrate-database.sh -U
./migrate-database.sh -u
./start_cake.sh

Answer 'y' when prompted.
Expand Down

0 comments on commit 68796be

Please sign in to comment.