LLM WikiAccess-protected knowledge portal

WIKI

Crawler / Collection DB Target (MUST READ before any collection work)

AI Summary Purpose Hard rule for which database all collection / crawling / missing product / missing version backfill work writes to. Key points Collection crawling MUST target 211.115.125.165 43316 the crawler DB . Do NOT write collected

경로ai/workspace/crawler-db-target.md
카테고리Workspace
태그#crawler #database #infra #mysql #security #target #workspace

# Crawler / Collection DB Target (MUST READ before any collection work)

AI Summary

Purpose:

missing-version backfill work writes to.

Key points:

secondary DB (the data_check_script/.env shared default), not the crawl target.

has no local .env it falls back to the shared ../data_check_script/.env (= 164) and silently writes to the wrong DB.

Relevant when:

composer_missing_products, or any crawler-lib backfill.

Do not read full document unless:

Linked documents:

Details

The rule

PurposeServerNote
Collection / crawling write target211.115.125.165:43316✅ canonical crawler DB
211.115.125.164:53306secondary / data_check❌ NOT the crawl target — do not write collected data here

165 schema layout (per language collector)

So a collector connects with DB_NAME=labradordb (product/version unqualified resolve there) but MUST reference the license table as gatheringdb.TB_LICENSE_V2.

Per-tool .env requirement

Each tool loads a LOCAL .env first, else the shared ../data_check_script/.env:

If you add a new collector, copy a 165 .env (e.g. from rubygems_missing_products/.env). Never rely on the shared data_check_script/.env for a write target.

Incident history (why this is nailed down)

target corrected to 165 (crawler config.ini).

.env, fell back to shared data_check_script/.env (164), and wrote ~37k products / 279k version rows to 164 before being caught. Stopped, added a local 165 .env, re-ran on 165. The 164 rows were left in place (to be cleaned up separately) per user.

Open Questions