Collections:
Accessing MySQL Server through Firewalls in MySQL
How To Access MySQL Servers through Firewalls in MySQL?
✍: FYIcenter.com
If your MySQL server is provided by an Internet service company, connecting to the server from your local machine will not be so easy, because there are firewalls between your local machine and your MySQL server as shown below:
As you can see, the first firewall could be the one on your local network, if you are using a local computer in an office environment. The second firewall will be the one on your MySQL server provider's network. Usually, firewalls will not allow any network traffic with port number 3306. So there is no way you can run your PHP scripts on your local machine to connect directly to your MySQL server located on your service provider's network.
You have several choices to solve this:
⇒ Retrieving MySQL Server information in MySQL
⇐ Connect to MySQL Server with User Account in MySQL
2017-11-25, 2383🔥, 0💬
Popular Posts:
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...
What Happens If the Imported Table Already Exists in Oracle? If the import process tries to import a...
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...
How To Connect ASP Pages to Oracle Servers in Oracle? If you are running Windows IIS Web server and ...
How To Insert New Line Characters into Strings in SQL Server Transact-SQL? If you want to break a st...