Unhandled Error!

MySQL connection error:

Hint

This problem could be caused by the LemonStand MySQL connection configuration errors. Please log into the LemonStand Configuration Tool and update the database connection parameters. Also please make sure that MySQL server is running.

Document /phproad/modules/db/classes/db_mysqlidriver.php
Document type PHP document
Line 73
Exception class Phpr_DatabaseException

Code Highlight

 
			// Set SQL Mode
			mysqli_query(Db::$connection, 'SET sql_mode=""');
 
			Phpr_ErrorLog::$disable_db_logging = false;
		} catch (Exception $ex) {
			$exception               = new Phpr_DatabaseException($ex->getMessage());
			$exception->hint_message = 'This problem could be caused by the LemonStand MySQL connection configuration errors. Please log into the LemonStand Configuration Tool and update the database connection parameters. Also please make sure that MySQL server is running.';
			throw $exception;
		}
	}
 
	public function reconnect()
# Call Stack Code Document Line
20 Db_MySQLiDriver->connect(()) /phproad/modules/db/classes/db_mysqlidriver.php 94
19 Db_MySQLiDriver->execute('select value from settings where name="price_groups"') /phproad/modules/db/classes/db_sqlbase.php 604
18 Db_SqlBase->execute('select value from settings where name="price_groups"') /phproad/modules/db/classes/db_sqlbase.php 437
17 Db_SqlBase->query('select value from settings where name="price_groups"') /phproad/modules/db/classes/db_sqlbase.php 557
16 Db_SqlBase->fetchOne('select value from settings where name="price_groups"', array(0)) /phproad/modules/db/classes/db_dbhelper.php 35
15 Db_DbHelper::scalar('select value from settings where name="price_groups"') /modules/partsdr/helpers.php 126
14 require_once('/var/www/partsdr-site/modules/partsdr/helpers.php') /modules/partsdr/classes/partsdr_module.php 3
13 include('/var/www/partsdr-site/modules/partsdr/classes/partsdr_module.php') /phproad/system/classloader.php 57
12 Phpr_ClassLoader->lookup_module('/var/www/partsdr-site/modules/partsdr', 'partsdr_Module', 'partsdr_module') /phproad/system/classloader.php 157
11 Phpr_ClassLoader->load('partsdr_Module') /phproad/system/initialize.php 79
10 Phpr_InternalAutoload('partsdr_Module')
9 spl_autoload_call('partsdr_Module')
8 class_exists('partsdr_Module') /phproad/system/classloader.php 113
7 Phpr_ClassLoader->load('partsdr_Module', '1') /modules/core/classes/core_modulemanager.php 55
6 Core_ModuleManager::listModules(()) /modules/backend/init/custom_helpers.php 13
5 include('/var/www/partsdr-site/modules/backend/init/custom_helpers.php') /phproad/system/initialize.php 189
4 init_lemonstand_modules(()) /phproad/system/initialize.php 197
3 include('/var/www/partsdr-site/phproad/system/initialize.php') /phproad/system/phproad.php 24
2 include('/var/www/partsdr-site/phproad/system/phproad.php') /boot.php 114
1 require_once('/var/www/partsdr-site/boot.php') /index.php 3