MySQL - Explain how to run MySQL Server on a different Port.

Explain how to run MySQL Server on a different Port

By default, MySQL will listen at port number 3306 for any client connections. This can be changed by starting the server with "--port=portNumber" option.

If the MySQL server is listening on port number other than 3306, "--port=portNumber" option to any client program that needs to connect to the server.
MySQL - MySQL API offers a number of functions
MySQL API offers a number of functions- mysql_connect -- Open a connection to a MySQL Server, mysql_get_client_info -- Get MySQL client info......
MySQL - Explain how to close MySQL connection objects
Explain how to close MySQL connection objects - MySQL connection objects created with mysql_connect() calls can be closed by calling mysql_close($con) function......
MySQL - Explain how to handle MySQL statement execution errors
Explain how to handle MySQL statement execution errors - When a MySQL statement is executed using mysql_query(), a FALSE Boolean value is returned if any error occurred......
Post your comment