What is the correct way to connect to a MySQL database?

  1. mysql_open("localhost");

  2. connect_mysql("localhost");

  3. dbopen("localhost");

  4. mysql_connect("localhost");


Correct Option: D

Find more quizzes: