Re: Problem with db [message #21 is a reply to message #20] |
Thu, 20 April 2006 04:28 |
AJM
Messages: 2369 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
The database name is "audit", not "rad_audit". There is no "rad_" prefix on any of my database names.
The only time you need to use $GLOBALS['dbprefix'] in the CONFIG.INC file is when you are installing the framework on a shared server and all your database names are prefixed with your account name. For example, on my home PC the database name is "audit", but on the shared server where my account name is "radicore" it is known as "radicore_audit".
The value in $GLOBALS['dbprefix'] is then referenced within the framework code and used as and when necessary, so it only needs to be defined in one place.
If you are not using a shared server which forces your database names to have a prefix, then don't define a prefix. It's as simple as that.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|