E
E
edmoiseenkoff2013-12-18 10:39:59
MySQL
edmoiseenkoff, 2013-12-18 10:39:59

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

2 answer(s)
R
Rsa97, 2013-12-18
@edmoiseenkoff

Through HTTP proxy will not work, you need to raise VPN, MySQL proxy or socks-proxy + tsocks

S
shagguboy, 2013-12-18
@shagguboy

vpn

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question