https://tecdistro.com/wp-content/uploads/2015/06/Delete.jpg 1810 2716 howto https://tecdistro.com/wp-content/uploads/2022/11/Tec-Distro1.png howto2015-06-12 07:14:052015-06-16 11:22:17How to Delete Database in mysql through Linux Shell
How to Delete Database in mysql through Linux Shell
There are 2 methods in order to delete the database in mysql through Linux Shell.
Delete through mysqladmin Command
You can delete the database without logging in mysql database;
# mysqladmin -u[username] -p[password] drop [database]
Step 1: Login in mysql Database
First we’ll login to the MySQL server from the command line with the following command:
# mysql -u root -p mysql>
Step 2: Delete Database
mysql> DROP DATABASE test_database;
Leave a ReplyWant to join the discussion?
Feel free to contribute!