Creating website for first time. Error and not cannot access login. .

Permalink
Doctrine \ DBAL \ Driver \ PDOException (2002)
SQLSTATE[HY000] [2002] Connection refused
Previous exceptions
SQLSTATE[HY000] [2002] Connection refused (2002)

/var/www/html/concrete5/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
* @since 2.0
*/
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
/**
* @param string $dsn
* @param string|null $user
* @param string|null $password
* @param array|null $options
*
* @throws PDOException in case of an error.
*/
public function __construct($dsn, $user = null, $password = null, array $options = null)
{
try {
parent::__construct($dsn, $user, $password, $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}

/**
* {@inheritdoc}
*/
public function exec($statement)
{
try {
return parent::exec($statement);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}


I am not certain how to read these codes. Perhaps above my help. Does anyone know how to correct this error? Or should I simply re-install and try again? Thank you very much.

And does someone have a recommendation for a theme I can use/purchase that is very stable, and provides for color selections and movement, and typing over text over pictures along with the posting of videos? I am assuming I will need to start over.
Enjoy a nice weekend.

DeSp
View Replies:
Gondwana replied on at Permalink Reply
Gondwana
could be a database name, password, database server, or database user rights issue.
DeSp replied on at Permalink Reply
DeSp
Thank you.