Search
 
SCRIPT & CODE EXAMPLE
 

SQL

delete database mysql

 DROP DATABASE dbname;
Comment

mysql drop database

DROP DATABASE ma_base
Comment

delete database mysql command

DROP DATABASE databasename
Comment

mysql delete database

DROP DATABASE dbname
Comment

query to delete a database in mysql

mysql> drop database `my-database`;
Comment

MySQL DROP DATABASE

The DROP DATABASE statement drops all tables in the database and deletes the database permanently. Therefore, you should be very careful when using this statement.

The following shows the syntax of the DROP DATABASE statement:

DROP DATABASE [IF EXISTS] database_name;



In MySQL, the schema is the synonym for the database, therefore, you can use them interchangeably:

DROP SCHEMA [IF EXISTS] database_name;
Comment

mysql database drop

mysql -e "DROP DATABASE db_name;"
Comment

how to delete database in mysql

DROP DATABASE databasename
 TO DELETE DATABASE
Comment

mysql remove database

mysql> drop database <db_name>;
Comment

drop database mysql

--The DROP DATABASE statement is used to drop an existing SQL database.
DROP DATABASE databasename;
Comment

PREVIOUS NEXT
Code Example
Sql :: find names starting with vowels in sql 
Sql :: postgres install unaccent extension 
Sql :: mysql group by day 
Sql :: sql server get timezone 
Sql :: alter table engine mysql 
Sql :: oracle sql log to console 
Sql :: how to check last gather stats on table in oracle 
Sql :: linux command line import mysql database 
Sql :: tsql update datetime 
Sql :: select password from user mysql 
Sql :: mysql server start 
Sql :: import database in mysql command line xampp 
Sql :: postgresql select all column names 
Sql :: how to update an attribute in MySQL 
Sql :: how to import database in mysql by cmd 
Sql :: connect python to mysql 
Sql :: add constraint fk 
Sql :: django sqlite database 
Sql :: oracle list invalid password logon denied 
Sql :: how to see logical reads in sql server 
Sql :: psql count where not null 
Sql :: check message id sql server 
Sql :: drop temp table sql 
Sql :: sql copy table 
Sql :: sql random sampling per group 
Sql :: moodle query first user access 
Sql :: sql server for loop 
Sql :: query string starts with vowels 
Sql :: postgresql add alter permissions to role 
Sql :: drop table sql 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =