Mysqli or nd_mysqli?

My hosting provider has a php version selector and also a way to enable/disable various extensions. I am unclear about the difference between mysqli and nd_mysqli - both seem to work.

What is recommended for ClassicPress?

mysql

1 Like

For typical WP/CP use, it probably doesn’t matter.

MySQLi is developed by MySQL. MySQL Native Driver is developed by PHP. There are minor differences:

3 Likes

Thanks Viktor.

I did look online and found statements like… " The mysqli, PDO_MySQL and mysql PHP extensions are lightweight wrappers on top of a C client library. The extensions can either use the mysqlnd library or the libmysqlclient library. Choosing a library is a compile time decision."

That’s why I thought it would be easier to ask here. :slightly_smiling_face:

I’ll go with this:

2 Likes