About 787,000 results
Open links in new tab
  1. How do I remove a MySQL database? - Stack Overflow

    May 23, 2017 · If your database cannot be dropped, even though you have no typos in the statement and do not miss the ; at the end, enclose the database name in between backticks: mysql> drop database `my-database`; Backticks are for databases or columns, apostrophes are for data within these.

  2. How to Delete a MySQL Database on Linux via Command Line

    Apr 20, 2019 · This tutorial describes how to delete (or drop) a MySQL or MariaDB database through the command line. All commands are executed as an administrative user (the minimum privilege required to delete a database is DROP) or with a root account. To access the MySQL console type the following command and enter your MySQL root user password when prompted:

  3. MySQL DROP DATABASE Statement - W3Schools

    The MySQL DROP DATABASE Statement. The DROP DATABASE statement is used to drop an existing SQL database. Syntax

  4. How to delete mysql database through shell command

    You can remove database directly as: $ mysqladmin -h [host]-u [user]-p drop [database_name] [Enter Password] Do you really want to drop the 'hairfree' database [y/N]: y

  5. Delete a MySQL or MariaDB Database via Command Line

    Dec 18, 2024 · We have outlined the necessary steps to delete a database, including accessing the command line interface, using the ‘DROP DATABASE’ command, confirming the deletion, and using graphical tools such as MySQL Workbench and phpMyAdmin to delete a database.

  6. Deleting a Database in MySQL: A Step-by-Step Guide

    May 6, 2024 · To delete a database in MySQL, you will need to have access to the MySQL command line or a graphical interface like Beekeeper Studio with appropriate credentials. Replace your_username with your MySQL username. You’ll be prompted to enter your password. Use the SHOW DATABASES command to view a list of all the databases on the server.

  7. MySQL DROP database

    Dropping a MySQL database using Command Line Client The DROP DATABASE statement allows us to drop a database from the MySQL server permanently. This will delete all the tables and other objects from that database.

  8. MySQL Delete Database - Tutorial Gateway

    MySQL DROP Database : This article shows you how to Delete Database in MySQL with an example using the command prompt and the Workbench.

  9. How to Delete a MySQL Database on Linux from the Command Line

    Jan 12, 2023 · In this tutorial, you will delete (or drop) a MySQL or MariaDB database through the command line. MySQL is an open-source relational database management system (RDBMS). It is the most popular database system used in web applications due to its ease of …

  10. How to Delete or Remove Databases in MySQL | Atlantic.Net

    May 6, 2022 · In this tutorial, we will show you how to delete (or drop) a MySQL or MariaDB database in Linux. mysqladmin is a MySQL built-in command-line utility that allows you to create and delete MySQL databases, check MySQL processes, and set a MySQL root password via a command-line interface.

  11. Some results have been removed
Refresh