Knowledge Base Article

How can I empty a mysql database?

The easiest way to empty a mysql database is by deleting it and recreating it again. This will preserve all user privileges to it and will just delete all of its tables.

For detailed instructions on how you can delete and recreate your database in Cpanel check this tutorial.


______________

Find expert web hosting services at SiteGround.com: secure web servers, cPanel, Fantastico, PHP, MySQL, FTP, web hosting tutorials, and more.


Rating

Please indicate if this article was helpful for you.

rating :  1.7 from 5
views :  972
votes :  3

Valid XHTML 1.0 Strict Valid CSS!