lesny8 wrote: Mon Feb 21, 2022 11:14 pm
jaku2k wrote: Mon Feb 21, 2022 9:36 pm
W pliku .env nie mam
DB_PASSWORD
Mogę je dopisać manualnie? Należy skorzystać z jakiegoś generatora czy może być tam wpisany dowolny ciąg znaków?
Powinno być
https://github.com/SUPLA/supla-docker/b ... efault#L46
Czy ta baza to jest baza produkcyjna Twojej instancji? Musiałeś mieć w .env ustawione jakieś hasło, co się z nim stało?
Masz dwa wyjścia, albo stawiasz od nowa jak pisze @pzygmunt i przenosisz /var albo walcz
Nie jestem pewien, czy dobrze rozumiem pojęcie
baza produkcyjna. Używam jej (a bardziej jej używałem dotychczas) na co dzień razem z supla_cloud i supla_server jako Clouda dla modułów Supli (mam nadzieję, że jest to zrozumiałe).
Jak ostatnio zaglądałem do env-a, to hasło tam było. Być może wymazałem je przypadkowo (przed zaistnieniem problemu jak chciałem edytować plik .env, to dostawałem powiadomienie o utworzeniu pliku tymczasowego .env.swp, ale z tym problemem sobie poradziłem -
chyba skutecznie).
Dziękuję bardzo za instrukcję (i oczywiście za odpowiedź). Pospiesznie podążyłem jednak za radą od @pzygmunt i obecnie borykam się z takim problemem:
jaku2k wrote: Mon Feb 21, 2022 11:10 pm
Tak zrobiłem i napotkałem jeszcze jeden błąd
Code: Select all
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 112:
An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused
In Exception.php line 18:
SQLSTATE[HY000] [2002] Connection refused
In PDOConnection.php line 40:
SQLSTATE[HY000] [2002] Connection refused
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 112:
An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused
In Exception.php line 18:
SQLSTATE[HY000] [2002] Connection refused
In PDOConnection.php line 40:
SQLSTATE[HY000] [2002] Connection refused
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 112:
An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused
In Exception.php line 18:
SQLSTATE[HY000] [2002] Connection refused
In PDOConnection.php line 40:
SQLSTATE[HY000] [2002] Connection refused
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla
tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.18.0.3' i
s not allowed to connect to this MySQL server
In Exception.php line 18:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
In PDOConnection.php line 40:
SQLSTATE[HY000] [1130] Host '172.18.0.3' is not allowed to connect to this
MySQL server
Szukałem poruszanego w podlinkowanych wątkach z Github odpowiednika pliku config, celem manualnego ustawienia "server_version", ale niestety takowego nie znalazłem.