How can you connect php to msql?

Use mysql_connect() php function to connect to the mysql.Please refer related link for more details.