It requires only 4 simple steps.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFN8e3jFABPFVDnn8hAWcI0_WwKEzJNfjAEwhkWljFbzxPDGV7zLNKkhyaw6YsQqqjbMN5iq9xJVR0EOS6_EWbNzs4mL_2_3n3JdvntBlLAvk6Qm4WDFLTO5k926ulHKVxUYdI7A/s1600/database+www.digizol.com.png)
- Stop mysql
- Use $ kill -9 [processID]
- Search the place where the database folders are stored
- Use $ mysqladmin variables | grep datadir
- Goto the folder which contains the database folders
- Rename the folder
- Use $ mv
- Use $ mv
- Start mysql
- Use $ mysqld_safe &
COMMENTS