CodeIgniter Forums
Codeigniter not working after database migration to SQL Server 2012 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Codeigniter not working after database migration to SQL Server 2012 (/showthread.php?tid=78443)



Codeigniter not working after database migration to SQL Server 2012 - HansMaulwurf - 01-20-2021

Hello,

I've migrated a DB from MySQL to SQL Server 2012. 

After successfully migrating the DB the application that is connected to the DB doesn't work anymore. 
The error message I get is:
[b]"Call to undefined method CI_DB_odbc_driver:: set()"[/b]
The codeigniter query builder syntax is correct, it worked with the old MySQL Database.
Also the connection to the new SQL Server database is working because normal sql queries are working.
Im guessing its a problem with the Codeigniter setup. Do I have to change anything in the config?
Im using Codeigniter 3.1.0 PHP 7.0.9 and SQL Server 2012


Thanks for your help.