<?php

  define('DB_HOST', '127.0.0.1');
  define('DB_USER', 'root');
  define('DB_PASSWORD', 'root');
  define('DB_NAME', 'blog');

<?php

  define('DB_HOST', '172.17.0.2');
  define('DB_USER', 'root');
  define('DB_PASSWORD', 'docker');
  define('DB_NAME', 'blog');

--- 
+++ 
@@ -1,6 +1,6 @@
 <?php
 
-  define('DB_HOST', '172.17.0.2');
+  define('DB_HOST', '127.0.0.1');
   define('DB_USER', 'root');
-  define('DB_PASSWORD', 'docker');
+  define('DB_PASSWORD', 'root');
   define('DB_NAME', 'blog');
Remove docker, use good old PHP
