Probleme acces et de mots de passe

Bonjour
Suite a un changement de concepteur de site, il m'a été demandé de changer les mots de passe d'un site développer sous symfony et héberger chez ovh
Je ne suis as expert sur ce type de langage.
Depuis le site est inaccessible et quand je passe en mode développement, le site affiche le message suivant :
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'dixvinscppbianca'@'10.21.114.234' (using password: YES) in /home/dixvinscpp/www/domains/dixvins.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 Stack trace: #0 /home/dixvinscpp/www/domains/dixvins.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=dixv…', 'dixvinscppbianc…', 'Joigny55', Array) #1 /home/dixvinscpp/www/domains/dixvins.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(22): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=dixv…', 'dixvinscppbianc…', 'Joigny55', Array) #2 /home/dixvinscpp/www/domains/dixvins.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'dixvinscppbianc…', 'Joigny55', Array) #3 /home/dixvinscpp/www/domains/dixvins.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(889): Doctrine\DBAL\Connection->connect() #4 /home/dixvinsc in /home/dixvinscpp/www/domains/dixvins.com/templates/partials/navbar.html.twig on line 16
J'ai cherche le init.ph sans le trouver, je n'ai pas trouve les mots de passe en clair (Il doivent etre caché).
Avez-vous une solution, en vous remerciant par avance
PS, j'ai remis les anciens mot de passe sans succès.
Pierre

Bonjour,


/www/domains/dixvins.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php

le mot de passe se serait pas dans ce fichier par hasard ?

Sinon il va falloir faire une recherche globale dans tous les fichiers pour trouver "dixvinscppbianc"

Cordialement, janus57

bonjour
Merci pour votre reponse.
Ce que j'ai fait , mais il n'y a rien en clair dans ce fichier :

Le voici ci dessous :

namespace Doctrine\DBAL\Driver;

use Doctrine\DBAL\ParameterType;
use PDO;
use function count;
use function func_get_args;

/
* PDO implementation of the Connection interface.
* Used by all PDO-based drivers.
*/
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
/

* @param string $dsn
* @param string|null $user
* @param string|null $password
* @param mixed|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, [PDOStatement::class, ]);
$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);
}
}

/

* {@inheritdoc}
*/
public function getServerVersion()
{
return PDO::getAttribute(PDO::ATTR_SERVER_VERSION);
}

/
* {@inheritdoc}
*/
public function prepare($prepareString, $driverOptions = [])
{
try {
return parent::prepare($prepareString, $driverOptions);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}

/

* {@inheritdoc}
*/
public function query()
{
$args = func_get_args();
$argsCount = count($args);

try {
if ($argsCount === 4) {
return parent::query($args[0], $args[1], $args[2], $args[3]);
}

if ($argsCount === 3) {
return parent::query($args[0], $args[1], $args[2]);
}

if ($argsCount === 2) {
return parent::query($args[0], $args[1]);
}

return parent::query($args[0]);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}

/
* {@inheritdoc}
*/
public function quote($input, $type = ParameterType::STRING)
{
return parent::quote($input, $type);
}

/

* {@inheritdoc}
*/
public function lastInsertId($name = null)
{
try {
return parent::lastInsertId($name);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}

/**
* {@inheritdoc}
*/
public function requiresQueryForServerVersion()
{
return false;
}
}