kohana / database

A Kohana module for database interactions, building queries, and prepared statements
http://kohanaframework.org/documentation
159 stars 140 forks source link

add MySQLi driver #91

Open rakucmr opened 9 years ago

rakucmr commented 9 years ago

Why don't add MySQLi driver to the master branch, you already have it on 3.4 develop branch https://github.com/kohana/database/tree/3.4/develop/classes/Database

shadowhand commented 9 years ago

Because there is no 3.4 release yet.

rakucmr commented 9 years ago

I know that :) but why don't add the missing driver to the 3.3.3.1 release?

enov commented 9 years ago

@raku this might go into a 3.3.4 release.

@acoulton do you still think we should make a 3.3.4 release with the MySQLi driver for the database module as well as Redis and XCache drivers for the cache modules?

rakucmr commented 9 years ago

I already use it on 3.3.3.1, I've just copied the missing driver files.

acoulton commented 9 years ago

@enov yes, I think a 3.3.4 is a good idea, and would be good to add this.

ghost commented 9 years ago

I solved this trouble by next way (i am not on 3.4 ofc):

4

Where is "modules/coll3ctor" - my own module with my helpers, views, etc. So, MySQLi files in my module, and Kohana understand that and correctly use mysqli extension. And, of course, database module not touched.

And, ofc, by this way you can use MySQLi driver in your config/database.php

enov commented 9 years ago

@coll3ctor :+1: