Hello! I have some old web-server with MySQL 5.1 and Apache 2.2. I can connect to it via Heidi (9.5). But I can't connect to it via PHP or Python because of errors like "your server is too old, for security reasons we can't connect with it". I tried to install old local Apache and to install old PHP over it, but failed. I've found some recomendations regarding changing password options on old web-servers in such cases, but I'm not owner of this server, there is old website running there so I don't want to change anything in configs.
Typical php-error "SQLSTATE[HY000]  mysqlnd cannot connect to MySQL 4.1+"
What API uses Heidi to connect to web-servers with any SQL versions ?