SID-01305: Fail to use DatabasePlugin
Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
|
Category: |
CategoryPlugins |
Server OS: |
RHEL6 |
Last update: |
12 years ago |
hi. i keep getting this error when using the database plugin:
No such DB test1 at /var/www/html/twiki/lib/TWiki/Plugins/DatabasePlugin.pm line 91.
I use the following data structure:
$TWiki::cfg{Plugins}{DatabasePlugin}{Databases} = [
{
description => 'test1',
driver => 'mysql',
hostname => 'localhost',
database => 'test1',
sid => '',
username => 'user1',
password => 'passwd1',
table_name => 'product',
},
];
With the query: %DATABASE_SQL{description="test1" sql="SELECT * FROM product"}%
pls help me!
--
JingXia - 2011-10-24
Discussion and Answer
See related
SID-01189
--
PeterThoeny - 2011-10-25
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2012-01-23
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.