Fixed #748 - reverse command sets now as database-name the given connection name if database-name is not defined and connection is not a dsn.