Questions tagged [mysql-error-1007]

Error 1007: Can't create database '%s' - database exists

Error 1007: Can't create database '%s' - database exists

3 questions
89
votes
5 answers

Error importing SQL dump into MySQL: Unknown database / Can't create database

I'm confused how to import a SQL dump file. I can't seem to import the database without creating the database first in MySQL. This is the error displayed when database_name has not yet been created: username = username of someone with access to…
BryanWheelock
  • 12,146
  • 18
  • 64
  • 109
0
votes
2 answers

trying to drop database but says database dosnt exists even thought I can use it

Got this weird error happening I am trying to clean up my databases that I am not using. however when I try to drop mysql it says database dosnt exists, however I can use it!! weird or what?! any way for me to get rid of this database from my…
C.Johns
  • 10,185
  • 20
  • 102
  • 156
0
votes
2 answers

Only import tables from a complete MySql database export

If I have exported a .sql file with my database in it, can I then only import "parts" of that database instead of the entire database to MySql? The question appeared when I was trying it out on a test database. I exported the testdatabase. Then…
user188962