Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter initial configuration
#8

(This post was last modified: 05-05-2020, 12:46 PM by imabot.)

(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



Theme © iAndrew 2016 - Forum software by © MyBB