cli: do not read code/config.php, allow more flexiblesetting of db config and credentials