Newscoop\Installer\Services\DatabaseService::withMysqlAllIsOk PHP Method

withMysqlAllIsOk() private method

Check if current mysql instance is ok for Newscoop
private withMysqlAllIsOk ( $mysqlClientCommand ) : boolean
return boolean
    private function withMysqlAllIsOk($mysqlClientCommand)
    {
        if (!file_exists($mysqlClientCommand)) {
            return false;
        }
        if (!is_file($mysqlClientCommand) && !is_link($mysqlClientCommand)) {
            return false;
        }
        if (!is_executable($mysqlClientCommand)) {
            return false;
        }
        return true;
    }