In PHPShop, the database connection is configured in the phpshop/inc/config.ini file
Open this file and find the following code.
define('_DB_NAME_', 'database_name');
define('_DB_SERVER_', 'server'); (usually localhost)
define('_DB_USER_', 'user_name');
define('_DB_PASSWD_', 'password');