php PDO connect database via socks5 proxy

I’m trying to connect to a remote database(mysql, clickhouse, oracle) through PDO,i can’t use ssh tunnel because of the Internet Policy of my company,i can only use socks proxy like 3proxy to transfer my db connect request, is there any way to connect db using php PDO via socks5 proxy?

i try use PDO like this, using custom socket context, but not work

$db = new PDO($dsn, $username, $password, $options, $context);