How to use remote db tables in current config? [duplicate]

I don’t think there is a good reason to actually do this, but you can simply use what’s in your config to point to another host.

Right from the codex page.

define('DB_HOST', 'mysql.example.com:3307');

File not found.