Elgg uses MySQL or MySQLi ?

while going thorugh some articles i read that MySQLi is better than MySQL.. so i want to know which one is used in ELGG? and is it possible to switch it?

  • Hmm, I think I am beginning to see some real issues here. Some 3rd party plugin dev's are building their own queries/mysql_* .Don't know if it is possible to hack around that. That is all beside the sanitize_string() issue, which should be minor.

  • mysql_* in a plugin is fine if the plugin establishes its own connection resource and uses it properly. But a call like mysql_query("SELECT 1") assumes there's an ambient MySQL connection established by Elgg. That will fail.

Feedback and Planning

Feedback and Planning

Discussions about the past, present, and future of Elgg and this community site.