Advertisement
Guest User

Untitled

a guest
Oct 8th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. parameters:
  2. database_host: localhost
  3. database_port: null
  4. database_name: symfony
  5. database_user: root
  6. database_password: null
  7. mailer_transport: smtp
  8. mailer_host: 127.0.0.1
  9. mailer_user: null
  10. mailer_password: null
  11. secret: (not relevant)
  12.  
  13. namespace AppBundleGenus;
  14.  
  15. use DoctrineORMMapping as ORM;
  16.  
  17. /**
  18. * @ORMEntity
  19. * @ORMTable(name="genus")
  20. */
  21. class Genus
  22. {
  23. /**
  24. * @ORMId
  25. * @ORMGeneratedValue(strategy="AUTO")
  26. * @ORMColumn(type="integer")
  27. */
  28. private $id;
  29. /**
  30. * @ORMColumn(type="string")
  31. */
  32. private $name;
  33.  
  34. }
  35.  
  36. dpkg -l php*mysql
  37. Desired=Unknown/Install/Remove/Purge/Hold
  38. | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  39. |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  40. ||/ Name Version Architecture Description
  41. +++-=================-=============-=============-============================
  42. un php-pdo-mysql <none> <none> (no description available)
  43. ii php7.0-mysql 7.0.8-0ubuntu amd64 MySQL module for PHP
  44. un php7.0-pdo-mysql <none> <none> (no description available)
  45.  
  46. XXX@XXX-pc ~/PhpstormProjects/test_symfony $ php bin/console doctrine:database:create
  47.  
  48.  
  49. [DoctrineDBALExceptionConnectionException]
  50. An exception occured in driver: SQLSTATE[HY000] [2002] No such file or directory
  51.  
  52.  
  53.  
  54. [DoctrineDBALDriverPDOException]
  55. SQLSTATE[HY000] [2002] No such file or directory
  56.  
  57.  
  58.  
  59. [PDOException]
  60. SQLSTATE[HY000] [2002] No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement