CodeIgniter Forums
Error conecting postgresql driver - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: Error conecting postgresql driver (/thread-68266.html)



Error conecting postgresql driver - Pofenas - 06-17-2017

Hi!!
   I have been working with CI2  for a long long while, and I'm pretty excited with CI4. Then, I made an installation and started to test it. Since I'm a PostgreSQL lover, I tried to connect to it, but I had the following error:

Error

Class '\CodeIgniter\Database\postgre\Connection' not found


 I realized the fact that 'postgre' was not in caps in the route given with the error. Then, i tried the following:

cd /usr/local/www/apache24/data/CI4 (which is my install directory in my Freebsd 11.0 system)

ln -s Database/Postgre Database/postgre

And everything worked perfectly.

I'm barely sure it's not because I missed something. If so, please, let me know. Otherwise I'd like to know if this is the right place to post it or  where should I report this -apparent- bug.


RE: Error conecting postgresql driver - qury - 06-22-2017

In application\Config\Database.php file did you use Postgre or postgre in the settings?

It is case sensitive.


RE: Error conecting postgresql driver - Pofenas - 06-25-2017

(06-22-2017, 02:33 PM)qury Wrote: In application\Config\Database.php file did you use Postgre or postgre in the settings?

It is case sensitive.

That was the key. Silly me. Tnx.