MyDatabase

suggest change

Create your own database. Do not write application data into mysql, information_schema, performance_schema, or sys.

CREATE DATABASE my_db;
USE my_db;
CREATE TABLE some_table (id INT PRIMARY KEY);
INSERT INTO some_table VALUES (1);

CREATE TABLE needs a column list. The name some_table alone is a syntax error.

You can reference your table by qualifying with the database name: my_db.some_table.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents