Home  >  Article  >  Database  >  What should I do if a 1007 error occurs in Navicat?

What should I do if a 1007 error occurs in Navicat?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-06 14:02:418514browse

What should I do if a 1007 error occurs in Navicat?

1. Error description

1 queries executed, 0 success, 1 errors, 0 warnings
 
查询:create database test
 
错误代码: 1007
Can't create database 'test'; database exists
执行耗时   : 0 sec
传送时间   : 0 sec

Related recommendations: "Navicat for mysql usage graphic tutorial"

2. Error Reason

When creating a database, the same SQL statement was executed twice, resulting in repeated creation of the database.

CREATE DATABASE test;

3. Solution

(1) Do not execute the statement.

(2) If the test is created incorrectly, delete it and re-execute the above SQL.

The above is the detailed content of What should I do if a 1007 error occurs in Navicat?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn