Recently try to install MySQL in My computer so the I can practise some SQL statement on sever. But there is some problem while the install MySQL package in my Ubuntu system. I Hava tried lots of ways to move on. At the last. I Find There is a
Best-to-install MySQL in My computer, so I want-share with other friends-like-who finds solutions for such prog Ram and hope my suggetion would give some help,even less.
First we should keep our system clear to install the MySQL before (beacuse I Hava installed some other types on compters, and There might be some files which still existed in system,to handle that I use some commands such as
sudo rm /var/lib/mysql/ -R
sudo rm /etc/mysql/ -R
)
You can do following steps:
#sudo apt-get autoremove mysql* --purge
#sudo apt-get remove apparmor
#sudo apt-get install mysql-server Mysql-common mysql-client
Then you can login in your own MySQL (MySQL have running in your system while installed)
Conclusions:
In the Linux system we hava some troubles on installing software,but there is some easy ways to achieve your goals.
Redhat system can use the "yum" to install, and Ubuntu can use Apt-get install
Maybe help, give my best wish to you!
Jiangjian
in Shanghai
Ubuntu Install MySQL server method