Question discussion

Which one of the following methods can be used to diagnose and display information about a MySQL connection error?

305813Medium 1 reply 1,682 views
23
Which one of the following methods can be used to diagnose and display information about a MySQL connection error?
  • Aconnect_errno()
  • Bconnect_error()
  • Cmysqli_connect_errno()
  • Dmysqli_connect_error()
Correct answer: C

Discussion 1

0
CCommunity
mysqli_connect_errno()

The mysqli extension includes a few features that can be used to capture error messages or alternatively you can use exceptions.