View the server address and port number in Navicat: Open the connection settings and select the database connection. The server address is in the Server Address or Host Name field. The port number is in the Port field and is a number between 1 and 65535.
Find the server address and port number in Navicat
Navicat is a database management tool that connects to the database , you need to specify the server address and port number. The following steps describe how to find this information:
Step 1: Open the connection settings
Step 2: Find the server address
The server address is usually found in the "Server Address" or "Host Name" field. It can be an IP address (for example, 127.0.0.1) or a domain name (for example, database.example.com).
Step 3: Find the port number
The port number is in the "Port" field. It is a number between 1 and 65535 that specifies a specific port on which the server listens for connections.
Example:
Assume you are connected to a database named "mydb" and the connection settings are as follows:
This means that the server address is 192.168.1.100 and the port number is 3306.
The above is the detailed content of How to check the navicat server address and port number. For more information, please follow other related articles on the PHP Chinese website!