1

I am just executing this command line on console php bin/magento setup:upgrade --keep-generated output of this command is SQLSTATE[HY000] [1049] Unknown database 'db_wire' what should i do and following is my env.php

array (
  'default' => 
  array (
    'host' => 'localhost',
    'dbname' => 'db_wire',
    'username' => 'root',
    'password' => '',
    'active' => '1',
  ),
),

I already created database with name 'db_wire'. I create a new database still it's giving same error .Please Help me.Many thanks

  • Did you created database db_wire?It seems database is not exist or you created database with another name. – akgola Mar 9 '18 at 11:01
1

Please Create a Database with name 'db_wire' for your project, or if you already created any db for the project please replace it with 'db_wire'.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.