dump mysql config things; lets fumble about in the dark once again and see...

pull/248/head
David Goodwin 6 years ago
parent 2e87464fc8
commit d6fc337272

@ -55,7 +55,10 @@ if (getenv('DATABASE') == 'mysql') {
$config = parse_ini_file($expand_tilde('~/.my.cnf')); $config = parse_ini_file($expand_tilde('~/.my.cnf'));
var_dump($config);
if (empty($config)) { if (empty($config)) {
var_dump("using default mysql config (localhost, root, empty password");
$config = ['user'=>'root', 'host' => '127.0.0.1', 'password' => '']; $config = ['user'=>'root', 'host' => '127.0.0.1', 'password' => ''];
} }

Loading…
Cancel
Save