OVH shared hosting MySQL hostnames (*.mysql.db) only resolve from inside OVH's network — phpMyAdmin running locally or any external client gets "getaddrinfo failed". Either the operator uses OVH-hosted phpMyAdmin (one click in the manager), or runs SQL through a PHP script that already lives on the OVH machine. migrate.php applies every *.sql file in migrations/ in lexicographic order, using config.php credentials. Works equally from CLI (php tools/migrate.php in SSH) and from a browser hit one-shot. Statements split on ";\n", skips SQL comment lines. Idempotent thanks to CREATE TABLE IF NOT EXISTS. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.8 KiB
2.8 KiB