![]() |
Using SQLite3 with CodeIgniter2.0.2 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Using SQLite3 with CodeIgniter2.0.2 (/showthread.php?tid=45259) |
Using SQLite3 with CodeIgniter2.0.2 - El Forum - 09-14-2011 [eluser]Unknown[/eluser] Hi all, I have my CodeIgniter running on my Mac and I have also googled through the forum as well as other websites on the subject-titled. I have created a sql3 db file using the Mac's built-in sqlite3. So now my question is: where do I place the sql3 file in CodeIgniter and how do I config the path in the database.php? I have placed my file on the same level as the application and system folders and set $db['default']['database'] = 'sqlite.sql3'; Am I correct? And with the above settings I got the following: Quote:A PHP Error was encountered Where have I gone wrong? Thank you very much for any help rendered. |