What is the use of mysql_close()?



What is the use of mysql_close()?..

Answer / Ravita Rani

mysql_close() in PHP is used to close a database connection after it's no longer needed. Closing the connection helps conserve resources and avoid potential errors related to open connections.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

What is required to create mysql database?

1 Answers  


What is the purpose of -> in the mysql terminal?

1 Answers  


Can u give the example by taking an unnormalized table and make that 1nf and then 25nf, and then 3 nf?

1 Answers  


Is mysql free for enterprise?

1 Answers  


What does a TIMESTAMP do on UPDATE CURRENT_TIMESTAMP data type?

1 Answers  


Is mysql a odbc?

1 Answers  


What happens if a table has one column defined as TIMESTAMP?

1 Answers  


Use a regular expression to find records. Use “REGEXP BINARY” to force case-sensitivity. This finds any record beginning with r.

1 Answers  


What is the limit of mysql database?

1 Answers  


How do stored procedures work?

1 Answers  


What does innodb stand for?

1 Answers  


What is triggers?

1 Answers  


Categories