Collections:
Connecting to MySQL Server on a Specific Port in MySQL
How To Connect to MySQL Server on a Different Port in MySQL?
✍: FYIcenter.com
If your MySQL server is listening on port number different than 3306, you need to specify "--port=portNumber" option to any client program that needs to connect to the server. The tutorial exercise shows you how to connect "mysql" to start the server to listen to a different port number:
\mysql\bin\mysql -u root -pretneciyf --port=8888 test Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.24 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
⇒ PHP Connections and Query Execution for MySQL
⇐ Running MySQL Server on a Specific Port in MySQL
2017-11-25, 1277👍, 0💬
Popular Posts:
Where to find answers to frequently asked questions on Conditional Statements and Loops in SQL Serve...
What Are Out-of-Range Errors with DATETIME values in SQL Server Transact-SQL? When you enter DATETIM...
How to continue to the next iteration of a WHILE loop in SQL Server Transact-SQL? How to use CONTINU...
How To Get the Definition of a User Defined Function Back in SQL Server Transact-SQL? If you want ge...
How To Turn on mysql Extension on the PHP Engine in MySQL? The "mysql" API extension is provided as ...