What is DbType when creating a database object?

What is DbType when creating a database object?

RGIDARGIDA Posts: 7Questions: 3Answers: 0

I cannot see anywhere that states what to set this value to.

This question has accepted answers - jump to:

Answers

  • rf1234rf1234 Posts: 1,765Questions: 51Answers: 257
    Answer ✓

    Database type: "Mysql", "Postgres", "Sqlite" or "Sqlserver"

    This is from config.php in folder Editor-PHP ... /php/

    $sql_details = array(
        "type" => "Mysql",  // Database type: "Mysql", "Postgres", "Sqlite" or "Sqlserver"
        "user" => "",       // Database user name
        "pass" => "",       // Database password
        "host" => "",       // Database host
        "port" => "",       // Database connection port (can be left empty for default)
        "db"   => "",       // Database name
        "dsn"  => "charset=utf8"        // PHP DSN extra information. Set as `charset=utf8` if you are using MySQL
    );
    
  • allanallan Posts: 52,624Questions: 1Answers: 8,049 Site admin
    Answer ✓
This discussion has been closed.