Zen Follower
- Join Date:
- Sep 2009
- Posts:
- 255
- Plugin Contributions:
- 0
Reward Points Module for ZC v13x
retched:
An easy way to answer this would be to check configure.php file for your ZenCart installation.
Open includes/configure.php in a text editor and look for define('DB_PREFIX', 'zen_');
Anything with the value listed in the second set of quotes, in my example 'zen_' is the database for ZenCart.
As for which database, look for define('DB_DATABASE', 'betadata');. That will list your zencart database. In my example, that is 'betadata'.
I found the file, sorry, looking in the wrong place. I found this text:
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'UNHere_zc01');
define('DB_SERVER_PASSWORD', 'Password here');
define('DB_DATABASE', 'UNHere_zc01');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
The text in red was changed as to not give out sensitive information. But there is nothing next to DB_PREFIX but there is the zc01 that I saw once I was in the CPanel under databases. So I am assuming that is it. Thanks again. I will give this a try in the morning.