hello, i recently requested for an upgrade of my web hosting from shared to VPS, but after it, i accessed my amember links and has database connection error: Script Error Error establishing a database connection. Please contact site webmaster if this error does not disappear long time Could you help me how to correct this? Appreciate any help. Thanks!
Could be you need to create user for database on new hosting but it might also help if you posted contents of error log.
Please check DB user access credentials in file amember/application/configs/config.php also please check that on new server pdo and pdo_mysql PHP extensions is enabled.
Hi I have below in config.php what shall i do with the credentials? return array( 'db' => array( 'mysql' => array( 'db' => 'XXX_amember', 'user' => 'YYY_amember', 'pass' => 'SI]+zG&SrHSaa', 'host' => 'localhost', 'prefix' => 'am_', 'port' => '', ), ), ); and how can i check if the pdo and pdo_mysql are enabled? I'm not really into technical but i can explore if given steps. Thanks!