Hi,

I get the error

DatabaseDriverNotSpecifiedException: Driver not specified for this database connection: sqlite in Database::openConnection() (line 1635 of /Users/jepster/webs/pa_eng/includes/database/database.inc).

when I want to migrate from mysql to sqlite on the page admin/structure/dbtng/migrator.

My settings in the settings.php:

$databases = array (
  'default' => 
  array (
    'default' => 
    array (
      'database' => 'pa-eng',
      'username' => 'root',
      'password' => 'root',
      'host' => 'localhost',
      'port' => '',
      'driver' => 'mysql',
      'prefix' => '',
    ),
  ),
  'sqlite' => 
  array (
    'sqlite' => 
    array (
      'database' => '/Users/jepster/Desktop/pa-eng.sqlite',
      'driver' => 'sqlite',
      'prefix' => '',
    ),
  ),
);

Comments

jnor’s picture

Look in migration code where Database::getConnection is defined

jnor’s picture

Issue summary: View changes

Edited synthax highlighting.