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: 2,806Questions: 85Answers: 406
    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: 61,650Questions: 1Answers: 10,094 Site admin
    Answer ✓
This discussion has been closed.