Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- parameters:
- database_host: localhost
- database_port: null
- database_name: symfony
- database_user: root
- database_password: null
- mailer_transport: smtp
- mailer_host: 127.0.0.1
- mailer_user: null
- mailer_password: null
- secret: (not relevant)
- namespace AppBundleGenus;
- use DoctrineORMMapping as ORM;
- /**
- * @ORMEntity
- * @ORMTable(name="genus")
- */
- class Genus
- {
- /**
- * @ORMId
- * @ORMGeneratedValue(strategy="AUTO")
- * @ORMColumn(type="integer")
- */
- private $id;
- /**
- * @ORMColumn(type="string")
- */
- private $name;
- }
- dpkg -l php*mysql
- Desired=Unknown/Install/Remove/Purge/Hold
- | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
- |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
- ||/ Name Version Architecture Description
- +++-=================-=============-=============-============================
- un php-pdo-mysql <none> <none> (no description available)
- ii php7.0-mysql 7.0.8-0ubuntu amd64 MySQL module for PHP
- un php7.0-pdo-mysql <none> <none> (no description available)
- XXX@XXX-pc ~/PhpstormProjects/test_symfony $ php bin/console doctrine:database:create
- [DoctrineDBALExceptionConnectionException]
- An exception occured in driver: SQLSTATE[HY000] [2002] No such file or directory
- [DoctrineDBALDriverPDOException]
- SQLSTATE[HY000] [2002] No such file or directory
- [PDOException]
- SQLSTATE[HY000] [2002] No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement