Answer the question
In order to leave comments, you need to log in
How to solve the problem with connecting PHP to MySQL?
Good afternoon!
There was a problem connecting to MySQL I'm
using Ubuntu 12.04
Apache/2.2.22
PHP 5.4.22-1
Internet access is through a proxy.
The MySQL database is not located locally but on the hosting.
I'm trying to run the site on a local machine, on a separate virtual host.
When connecting to the database, it crashes because it cannot go through the proxy.
The site is written using Kohana3.
Is it possible to fix this problem somehow, using the framework, or setting up the server.
Thanks a lot!
Answer the question
In order to leave comments, you need to log in
Through HTTP proxy will not work, you need to raise VPN, MySQL proxy or socks-proxy + tsocks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question