{"action":"created","issue":{"url":"https://api.github.com/repos/helhum/typo3_console/issues/45","labels_url":"https://api.github.com/repos/helhum/typo3_console/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/helhum/typo3_console/issues/45/comments","events_url":"https://api.github.com/repos/helhum/typo3_console/issues/45/events","html_url":"https://github.com/helhum/typo3_console/issues/45","id":64555613,"number":45,"title":"Select existing database","user":{"login":"sascha-egerer","id":1651414,"avatar_url":"https://avatars.githubusercontent.com/u/1651414?v=3","gravatar_id":"","url":"https://api.github.com/users/sascha-egerer","html_url":"https://github.com/sascha-egerer","followers_url":"https://api.github.com/users/sascha-egerer/followers","following_url":"https://api.github.com/users/sascha-egerer/following{/other_user}","gists_url":"https://api.github.com/users/sascha-egerer/gists{/gist_id}","starred_url":"https://api.github.com/users/sascha-egerer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sascha-egerer/subscriptions","organizations_url":"https://api.github.com/users/sascha-egerer/orgs","repos_url":"https://api.github.com/users/sascha-egerer/repos","events_url":"https://api.github.com/users/sascha-egerer/events{/privacy}","received_events_url":"https://api.github.com/users/sascha-egerer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-26T15:27:51Z","updated_at":"2015-04-12T11:49:23Z","closed_at":"2015-04-12T11:49:23Z","body":"Currently it is not possible to select an existing database by executing the command: \r\n```\r\nphp typo3cms install:databaseSelect --database-name=typo3 --database-create=0\r\n```\r\n*Expected Result*\r\nSetting in LocalConfiguration should contain\r\n```\r\n...\r\n\t'DB' => array(\r\n\t\t...\r\n\t\t'database => 'typo3',\r\n\t),\r\n...\r\n```\r\n\r\nCan you confirm that?\r\nI think that is related to this change in the TYPO3 Core\r\nhttps://github.com/TYPO3/TYPO3.CMS/commit/ced1f4065dbc6c9bd61044c32af720e8d5e6529b\r\n"},"comment":{"url":"https://api.github.com/repos/helhum/typo3_console/issues/comments/92043660","html_url":"https://github.com/helhum/typo3_console/issues/45#issuecomment-92043660","issue_url":"https://api.github.com/repos/helhum/typo3_console/issues/45","id":92043660,"user":{"login":"helhum","id":904370,"avatar_url":"https://avatars.githubusercontent.com/u/904370?v=3","gravatar_id":"","url":"https://api.github.com/users/helhum","html_url":"https://github.com/helhum","followers_url":"https://api.github.com/users/helhum/followers","following_url":"https://api.github.com/users/helhum/following{/other_user}","gists_url":"https://api.github.com/users/helhum/gists{/gist_id}","starred_url":"https://api.github.com/users/helhum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helhum/subscriptions","organizations_url":"https://api.github.com/users/helhum/orgs","repos_url":"https://api.github.com/users/helhum/repos","events_url":"https://api.github.com/users/helhum/events{/privacy}","received_events_url":"https://api.github.com/users/helhum/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T11:49:23Z","updated_at":"2015-04-12T11:49:23Z","body":">  But looks like the problem is if the database exsists with all its tables but there is no LocalConfiguration.php you can't set it up with typo3cms install:setup because the database name is not added to the LocalConfiguration.\r\n\r\nThis is not a console issue, but a core issue. The install tool setup code cannot use databases that are not empty. You just cannot select them in the Install Tool UI.\r\n\r\nThe only typo3_console issue here is, that in that case maybe an exception should be thrown and an error message should be presented to the user.\r\n\r\nI close this now in favor of #49"}}