Why do we have to close the MySQL database after a query command?

后端 未结 2 655
悲哀的现实
悲哀的现实 2021-01-06 07:11

I\'m starter.

I want to know what will happen if we don\'t close the MySQL connection.

1- Is it possible to open more than one database if we don\'t close th

2条回答
  •  隐瞒了意图╮
    2021-01-06 07:27

    Once you connect to the database it is not necessary to close. As non-persistent connection automatically closed at the end of script execution.

    Follow this for more information

提交回复
热议问题