{"action":"opened","issue":{"url":"https://api.github.com/repos/doctrine/dbal/issues/3296","repository_url":"https://api.github.com/repos/doctrine/dbal","labels_url":"https://api.github.com/repos/doctrine/dbal/issues/3296/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/dbal/issues/3296/comments","events_url":"https://api.github.com/repos/doctrine/dbal/issues/3296/events","html_url":"https://github.com/doctrine/dbal/issues/3296","id":362840202,"node_id":"MDU6SXNzdWUzNjI4NDAyMDI=","number":3296,"title":"doctrine:database:create use Oracle database get Notice.","user":{"login":"lcp0578","id":10859621,"node_id":"MDQ6VXNlcjEwODU5NjIx","avatar_url":"https://avatars2.githubusercontent.com/u/10859621?v=4","gravatar_id":"","url":"https://api.github.com/users/lcp0578","html_url":"https://github.com/lcp0578","followers_url":"https://api.github.com/users/lcp0578/followers","following_url":"https://api.github.com/users/lcp0578/following{/other_user}","gists_url":"https://api.github.com/users/lcp0578/gists{/gist_id}","starred_url":"https://api.github.com/users/lcp0578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcp0578/subscriptions","organizations_url":"https://api.github.com/users/lcp0578/orgs","repos_url":"https://api.github.com/users/lcp0578/repos","events_url":"https://api.github.com/users/lcp0578/events{/privacy}","received_events_url":"https://api.github.com/users/lcp0578/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-22T09:05:05Z","updated_at":"2018-09-22T09:05:05Z","closed_at":null,"author_association":"NONE","body":"### Bug Report\r\n\r\n<!-- Fill in the relevant information below to help triage your issue. -->\r\n\r\n|    Q        |   A\r\n|------------ | ------\r\n| BC Break    | yes\r\n| Version     | 2.5.13\r\n\r\n#### Summary\r\n\r\n<!-- Provide a summary describing the problem you are experiencing. -->\r\n\r\n#### Current behaviour\r\n\r\n```\r\nphp7 bin/console doctrine:database:create --connection=oracle -v\r\n\r\nIn AbstractOracleDriver.php line 121:\r\n\r\n  [Symfony\\Component\\Debug\\Exception\\ContextErrorException]\r\n  Notice: Undefined index: dbname\r\n\r\n\r\nException trace:\r\n Doctrine\\DBAL\\Driver\\AbstractOracleDriver->getEasyConnectString() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/OCI8/Driver.php:61\r\n Doctrine\\DBAL\\Driver\\OCI8\\Driver->_constructDsn() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/OCI8/Driver.php:42\r\n Doctrine\\DBAL\\Driver\\OCI8\\Driver->connect() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360\r\n Doctrine\\DBAL\\Connection->connect() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/doctrine/doctrine-bundle/Command/CreateDatabaseDoctrineCommand.php:84\r\n Doctrine\\Bundle\\DoctrineBundle\\Command\\CreateDatabaseDoctrineCommand->execute() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:252\r\n Symfony\\Component\\Console\\Command\\Command->run() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:964\r\n Symfony\\Component\\Console\\Application->doRunCommand() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:86\r\n Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRunCommand() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:248\r\n Symfony\\Component\\Console\\Application->doRun() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:74\r\n Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:148\r\n Symfony\\Component\\Console\\Application->run() at /Users/lcp0578/htdocs/sxjicheng/water_datacenter/bin/console:27\r\n\r\ndoctrine:database:create [--shard SHARD] [--connection [CONNECTION]] [--if-not-exists] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>\r\n```\r\n\r\ndoctrine config:\r\n\r\n```\r\n# config.yml\r\n# Doctrine Configuration\r\ndoctrine:\r\n    dbal:\r\n        default_connection: default\r\n        connections:\r\n            default:\r\n                driver: pdo_mysql\r\n                host: '%database_host%'\r\n                port: '%database_port%'\r\n                dbname: '%database_name%'\r\n                user: '%database_user%'\r\n                password: '%database_password%'\r\n                charset: UTF8\r\n            oracle:\r\n                driver: oci8\r\n                host: '%database_oracle_host%'\r\n                port: '%database_oracle_port%'\r\n                dbname: '%database_oracle_name%'\r\n                user: '%database_oracle_user%'\r\n                password: '%database_oracle_password%'\r\n                servicename: '%database_oracle_servicename%'\r\n                charset: AL32UTF8\r\n#paramters.yml\r\nparameters:\r\n    database_host: 127.0.0.1\r\n    database_port: null\r\n    database_name: water_datacenter\r\n    database_user: root\r\n    database_password: lcp0578\r\n    database_oracle_host: 127.0.0.1\r\n    database_oracle_port: 1521\r\n    database_oracle_name: water_datacenter\r\n    database_oracle_user: sys\r\n    database_oracle_password: lcp0578\r\n    database_oracle_servicename: orclcdb\r\n    mailer_transport: smtp\r\n    mailer_host: 127.0.0.1\r\n    mailer_user: null\r\n    mailer_password: null\r\n    secret: ThisTokenIsNotSoSecretChangeIt\r\n```\r\n```\r\ncomposer7 show -i doctrine/dbal\r\nYou are using the deprecated option \"installed\". Only installed packages are shown by default now. The --all option can be used to show all packages.\r\nname     : doctrine/dbal\r\ndescrip. : Database Abstraction Layer\r\nkeywords : database, dbal, persistence, queryobject\r\nversions : * v2.5.13\r\ntype     : library\r\nlicense  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText\r\nsource   : [git] https://github.com/doctrine/dbal.git 729340d8d1eec8f01bff708e12e449a3415af873\r\ndist     : [zip] https://api.github.com/repos/doctrine/dbal/zipball/729340d8d1eec8f01bff708e12e449a3415af873 729340d8d1eec8f01bff708e12e449a3415af873\r\nnames    : doctrine/dbal\r\n\r\nautoload\r\npsr-0\r\nDoctrine\\DBAL\\ => lib/\r\n\r\nrequires\r\ndoctrine/common >=2.4,<2.8-dev\r\nphp >=5.3.2\r\n\r\nrequires (dev)\r\nphpunit/phpunit 4.*\r\nsymfony/console 2.*||^3.0\r\n\r\nsuggests\r\nsymfony/console For helpful console commands such as SQL execution and import of files.\r\n```"}}
{"actor":{"display_login":"lcp0578"}}