A minute job and done. Personally, I don’t see the point. Darsstar 1, 1 12 I’ll add an SSL patch to this in the next day or two: I’ve run into a problem where I want to connect to a database. The database class has prepared statements built in.
|Date Added:||3 December 2004|
|File Size:||46.3 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
A minute job and done.
MySQLi Database Driver for Kohana – Tom Lankhorst
I forked the module and tacked on MySQLi and a crude attempt at multiple resultsets for myself and anyone else that’s interested – I’m not mysqlj it to be merged in to the main distribution. The one using ‘MySQLi’ as the driver.
The next version 3. Sign up or log in Sign up using Google.
php – Kohana not using MySQLi driver – Stack Overflow
For large systems where PHP and MySQL are not operating on the same server or even the same network, the ability to form an ssl connection to a MySQL database becomes very important, and as such I feel it’s worthwhile supporting this driver. The mysql extension is deprecated and will be removed in the future: I might be being completely ignorant, but aren’t prepared statements a lot more secure reducing the need for pre-processing?
The application is telling me it’s using MySQL and it’s decrepated.
I’m working on a project that uses Kohana 3. If Kohana Database module had features that only worked in some DB types with certain tables etc, I think it would result in more confusion and would remove a lot of the benefit of the module as an abstraction layer.
MySQLi Database Driver for Kohana 3.3
I prefer mysqli when I’m using the library directly, but I personally don’t care too much what’s under the hood of the database library. Are you using modules mysqli and database at the same time? Darsstar 1, 1 12 Everything that I have read suggests that there is no significant speed difference between mysql two the benchmarks I’ve seen vary, and different types of queries produce different results. I’ve run into a problem where I want ,ysqli connect to a database.
Personally, I don’t see the point.
But not all databases behind PDO do surely? Just enabling the module isn’t enough.
I’ll add an SSL patch to this in the next day or two: I implemented a MySQLi driver some time ago. The problem has been discussed on the Kohana forums.
Sign up using Kohzna and Password.
Can anyone see what’s going wrong? Sign In Apply for Membership. For this reason it is sensibly in my view left to the developer to implement this as required with the clear understanding that they can’t expect the same to work seamlessly across drivers.
It might break the DB agnostic ideals but mysqli does provide the ssl connection support all the other extensions seem to lack.