CodeIgniter Forums
CI ODBC Connection issue - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: CI ODBC Connection issue (/showthread.php?tid=67811)



CI ODBC Connection issue - nepalnme - 04-12-2017

Hi got stuck in  line no 82..  is there odbc driver available in ci4

Code:
75             throw new \InvalidArgumentException('You have not selected a database type to connect to.');
76         }
77
78         $className = strpos($params['DBDriver'], '\\') === false
79             ? '\CodeIgniter\Database\\'.$params['DBDriver'].'\\Connection'
80             : $params['DBDriver'].'\\Connection';
81
82         $class = new $className($params);
83
84         // Store the connection
85         $this->connections[$alias] = $class;
86
87         return $this->connections[$alias];
88     }
89



RE: CI ODBC Connection issue - kilishan - 04-12-2017

Not currently. If you're brave and want to port it over for us, that would be great. Smile