I think you are half right.
I did this with data assist wizard. First step is to create a connection and you have a choice between mysql or mysqli. I chose mysqli but the wizard created pages for mysql.
If I point to the mysql connection script the pages work fine.
Why did it not create mysqli pages to match the connection chosen?