{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreieynt6q2gvbl2x5ouzysyr7prmesufg5nwwhtqgffjfmwozsa4xee",
"uri": "at://did:plc:qfsyszxhq5agxsg2n5zo4lno/app.bsky.feed.post/3mmbijgnwjyr2"
},
"path": "/t/problem-connecting-php-site-to-external-mariadb/118769#post_4",
"publishedAt": "2026-05-20T07:27:50.000Z",
"site": "https://forum.infinityfree.com",
"textContent": "I ran into something similar before and it turned out the external DB host was blocking remote connections by IP. Also make sure the MariaDB server is listening on the public interface and not just localhost. Testing the connection from a simple local PHP script first can help narrow down whether it’s a hosting restriction or a DB config issue.",
"title": "Problem connecting PHP site to external MariaDB"
}