Closed (fixed)
Project:
Feeds SQL
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2012 at 04:49 UTC
Updated:
22 Aug 2012 at 05:11 UTC
HI,
I have add the external database into my settings.php,
but have this error
"
Driver not specified for this database connection: mysample
Here is my db config
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'sample_1p',
'username' => 'sample_2p',
'password' => 'mypass',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),'mysample' =>
array (
'mysample' =>
array (
'database' => 'sample_dio',
'username' => 'sample_diy',
'password' => 'mypass',
'host' => 'localhost',
'port' => '',
'driver' => 'mysqli',
'prefix' => '',
),
),
);
Comments
Comment #1
shadowdknight commentedMy bad the array should stay default.
Comment #2.0
(not verified) commentedcorrection