ERROR 1049 (42000): Unknown database

后端 未结 3 1433
逝去的感伤
逝去的感伤 2021-02-07 00:42

I can\'t seem to login to my tutorial database development environment:

Ayman$ mysql -u blog -p blog_development
Enter password: 
ERROR 1049 (42000): Unknown da         


        
3条回答
  •  囚心锁ツ
    2021-02-07 01:20

    Very simple solution. Just rename your database and configure your new database name in your project.

    The problem is the when you import your database, you got any errors and then the database will be corrupted. The log files will have the corrupted database name. You can rename your database easily using phpmyadmin for mysql.

    phpmyadmin -> operations -> Rename database to
    

提交回复
热议问题