How to Drop or Delete the database by shell command in windows XAMPP?
Generally, we can pass any query to mysql from shell with -e option as below:
1. First need to go in mysql/bin using cd mysql/bin command
2. mysql -u username -p -D "database name" -e "DROP DATABASE database name"
Comments
Post a Comment