Solved

MySQL Port Question

Posted on 2012-12-29
4
486 Views
Last Modified: 2013-01-13
If I have a back end server with a MYSql database and then a front end server with a php application, which ports do I open to configure communication between the two servers?  Just 3306, or should there be others?
0
Comment
Question by:Jack_son_
4 Comments
 
LVL 8

Assisted Solution

by:rpkhare
rpkhare earned 125 total points
ID: 38729000
When you install MySQL, it automatically chooses a port. You should keep the one it configures while installing.
0
 
LVL 10

Assisted Solution

by:Damjan
Damjan earned 125 total points
ID: 38729020
To communicate witch MySQL server you need to open only port 3306 (default). For security reasons allow MySQL server access from your web server only.
0
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 125 total points
ID: 38729039
It's almost always 3306.  There may be others for clusters, etc.  This (slow to load) document has a canonical list:
http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
0
 
LVL 15

Accepted Solution

by:
Insoftservice earned 125 total points
ID: 38729119
3306  is default port for mysql. while connecting these two servers you could provide the correct hostname to the server
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now