• 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter initial configuration

#8
(05-05-2020, 12:27 PM)jreklund Wrote: PDO are not ported yet, so you can't use that driver.
https://codeigniter.com/user_guide/intro...ments.html

This is probably why it was not working! Do you know configuration settings for PDO is explained in the documentation : https://codeigniter.com/user_guide/datab...figuration

Quote:Some database drivers (such as PDO, PostgreSQL, Oracle, ODBC) might require a full DSN string to be provided. If that is the case, you should use the ‘DSN’ configuration setting, as if you’re using the driver’s underlying native PHP extension, like this:

Code:
// PDO
$default['DSN'] = 'pgsql:host=localhost;port=5432;dbname=database_name';
Reply


Messages In This Thread
CodeIgniter initial configuration - by imabot - 05-05-2020, 07:44 AM
RE: CodeIgniter initial configuration - by imabot - 05-05-2020, 11:57 AM
RE: CodeIgniter initial configuration - by imabot - 05-05-2020, 12:24 PM
RE: CodeIgniter initial configuration - by imabot - 05-05-2020, 12:45 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.