Hey Hi Friends ,
There may be case where we don't remember password and finally we require software to completely uninstall and then reinstall again .
In this blog , we will learn how to uninstall and install MYSQL from Ubuntu (Cloudera Machine)
For uninstall : (Only 2 steps you need to completely remove MYSQL from system )
1. sudo apt-get remove --purge mysql-server mysql-client mysql-common
Press Y to continue
2. sudo rm -rf /var/lib/mysql
Installation of MYSQL on Ubuntu (Cloudera Machine)
1. sudo apt-get install mysql-server
2. After installation , it will prompt for setting the password.
3. You are ready to use mysql .
login using : mysql -u root -p <your password>
I will come with more blogs related to this .
If you like my blog please like and comment
Happy Coding ...
No comments:
Post a Comment