CodeIgniter Forums
Database refuses to work with mysqli - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Database refuses to work with mysqli (/showthread.php?tid=13264)



Database refuses to work with mysqli - El Forum - 11-16-2008

[eluser]Vang[/eluser]
Unfortunately the database library refuses to work with mysqli. With mysql everything works perfect.
I get "Unable to connect to your database server using the provided settings."
Are others having the same issue ?

My installation:
CI 1.7.0
Apache 2.2.9
php 5.2.6
on ubuntu 8.10


Database refuses to work with mysqli - El Forum - 11-17-2008

[eluser]George Tavas[/eluser]
Yes, this one has heppend to me too. I used to load mysqli db driver but when I upgrade/replace the "system"(folder) with the CI v1.7 i get the message "Unable to connect to your database server using the provided settings", but if I change the db driver into "mysql", the system connects normally to my database without having any errors.


Database refuses to work with mysqli - El Forum - 11-17-2008

[eluser]Ornis[/eluser]
exactly the same problem here after upgrading to CI 1.7 FROM CI 1.6.3. This would be nice to fix since mysqli-driver works faster. Doesn't it?


Database refuses to work with mysqli - El Forum - 11-17-2008

[eluser]thespy[/eluser]
http://ellislab.com/forums/viewthread/94796/