cwms Posted August 1, 2017 Share Posted August 1, 2017 Hi, We are using Prestashop 1.7.2 and we changed database server. Everything was pretty easy (just had to change details in /app/config/parameters.php) and it was smooth. I've cleared the cache in BO and it seems to be working fine when i test the front end and backend. But, when i'm in the BO on the page Catalogue/products, it get this weird error (the previous db server is off). Why ? Any other cache we should clear ? ConnectionException in AbstractMySQLDriver.php line 103:An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused Followed by a lot of errors including the previous server, db, login & password ... in AbstractMySQLDriver.php line 103 at AbstractMySQLDriver->convertException('An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused', object(PDOException)) in DBALException.php line 145 at DBALException::driverException(object(Driver), object(PDOException)) in Driver.php line 47 at Driver->connect(array('driver' => 'pdo_mysql', 'host' => '138.68.XXX.XX', 'port' => '', 'dbname' => 'store_XXXXX', 'user' => 'frontXXXX', 'password' => '!n;rKGTKd2UD', 'charset' => 'UTF8', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE([spam-filter]sql_mode,'ONLY_FULL_GROUP_BY',''))'), 'serverVersion' => '5.1'), 'frontuser', 'XXXXXXX', array('SET sql_mode=(SELECT REPLACE([spam-filter]sql_mode,'ONLY_FULL_GROUP_BY',''))')) in Connection.php line 360 Link to comment Share on other sites More sharing options...
cwms Posted August 1, 2017 Author Share Posted August 1, 2017 The error appear only in debug mode. So, i assume that the DEV cache is not cleared ? If so, anyone knows where the DEV cache folder for the BO is ? Link to comment Share on other sites More sharing options...
caovillanueva Posted May 23, 2018 Share Posted May 23, 2018 Only rename or delete \app\cache\dev folder. Then refresh the BO page, the folder "dev" will be restored and this will fix your issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now