Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent CREATE DATABASE mysql; #8621

Closed
jycor opened this issue Dec 2, 2024 · 0 comments · Fixed by dolthub/go-mysql-server#2775
Closed

prevent CREATE DATABASE mysql; #8621

jycor opened this issue Dec 2, 2024 · 0 comments · Fixed by dolthub/go-mysql-server#2775
Assignees
Labels
bug Something isn't working correctness We don't return the same result as MySQL good repro Easily reproducible bugs

Comments

@jycor
Copy link
Contributor

jycor commented Dec 2, 2024

Despite showing that mysql database exists, dolt still allows users to create one.

tmp2/main> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| tmp2               |
+--------------------+
3 rows in set (0.00 sec)

tmp2/main> create database mysql;
Query OK, 1 row affected (0.02 sec)
tmp2/main> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| mysql              |
| tmp2               |
+--------------------+
4 rows in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctness We don't return the same result as MySQL good repro Easily reproducible bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant