K
K
Konstantin Zhikhor2020-12-22 11:41:14
symfony
Konstantin Zhikhor, 2020-12-22 11:41:14

Why is the migration knocking on an unnecessary host?

Help me please. i have two virtual machines ds-dwh-dev-pgdb (where mariadb and postgres databases are installed) and ds-dwh-dev-php (nginx, php-fpm + php-7.2.29, rabbitMq, git.) where i and should do the migration.
When I make a migration, I get an error
when migrating posgtres

An exception occurred in driver: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "10.253.7.51", user "DCredit", database "postgres-slave", SSL off

on mariadb migration
An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'10.253.7.51' (using password: YES)

Everywhere he knocks on the host where the project is, but I need where the database is. db host is specified in the settings.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question