{"action":"created","issue":{"url":"https://api.github.com/repos/contao/installation-bundle/issues/58","repository_url":"https://api.github.com/repos/contao/installation-bundle","labels_url":"https://api.github.com/repos/contao/installation-bundle/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/contao/installation-bundle/issues/58/comments","events_url":"https://api.github.com/repos/contao/installation-bundle/issues/58/events","html_url":"https://github.com/contao/installation-bundle/issues/58","id":237498022,"number":58,"title":"4.4.0: Install tool fails without functioning MySQL connection","user":{"login":"arechsteiner","id":1199486,"avatar_url":"https://avatars0.githubusercontent.com/u/1199486?v=3","gravatar_id":"","url":"https://api.github.com/users/arechsteiner","html_url":"https://github.com/arechsteiner","followers_url":"https://api.github.com/users/arechsteiner/followers","following_url":"https://api.github.com/users/arechsteiner/following{/other_user}","gists_url":"https://api.github.com/users/arechsteiner/gists{/gist_id}","starred_url":"https://api.github.com/users/arechsteiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arechsteiner/subscriptions","organizations_url":"https://api.github.com/users/arechsteiner/orgs","repos_url":"https://api.github.com/users/arechsteiner/repos","events_url":"https://api.github.com/users/arechsteiner/events{/privacy}","received_events_url":"https://api.github.com/users/arechsteiner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-06-21T11:11:30Z","updated_at":"2017-06-26T14:24:48Z","closed_at":null,"body":"I ran into trouble when trying to move a minimal Contao 4.4.0 \"Hello World\" website that I created through the .zip file (manual installation) to a remote host. The install tool under (contao/install) would throw an error related to MySQL, which makes little sense because obviously I need to use that very tool in order to fix the MySQL connection and point it to the new database.\r\n\r\nThe problem can be reproduced locally by creating a simple website (with website root and article) and turning off the MySQL server. The install tool then fails with this error:\r\n\r\n`[2017-06-21 12:55:06] app.CRITICAL: An exception occurred. {\"exception\":\"[object] (Doctrine\\\\DBAL\\\\Exception\\\\ConnectionException(code: 0): An exception occured in driver: SQLSTATE[HY000] [2002] No such file or directory at /home/alex/lampp/nucontao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103, Doctrine\\\\DBAL\\\\Driver\\\\PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /home/alex/lampp/nucontao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /home/alex/lampp/nucontao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)\"} []\r\n`\r\nThis breaks the migration process described in the manual.\r\n\r\nForum Thread (in German):\r\nhttps://community.contao.org/de/showthread.php?67128-Contao-Install-Tool-scheitert-ohne-MySQL-Verbindung&p=443236#post443236"},"comment":{"url":"https://api.github.com/repos/contao/installation-bundle/issues/comments/311074760","html_url":"https://github.com/contao/installation-bundle/issues/58#issuecomment-311074760","issue_url":"https://api.github.com/repos/contao/installation-bundle/issues/58","id":311074760,"user":{"login":"leofeyer","id":1192057,"avatar_url":"https://avatars3.githubusercontent.com/u/1192057?v=3","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T14:24:48Z","updated_at":"2017-06-26T14:24:48Z","body":"I don't think we can fix this in the install tool, because the only possible fix is to purge the Symfony cache as soon as the install tool is opened. However, we are only purging the cache after the install tool password has been entered to prevent random people from deleting your cache by simply opening the install tool (which is not a protected route).\r\n\r\nSo I guess we should update the manual, shouldn't we @contao/developers? "}}
{"actor":{"display_login":"leofeyer"}}