码迷,mamicode.com
首页 > 数据库 > 详细

ubuntu install mysql server method

时间:2014-08-21 12:50:14      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:style   color   io   strong   for   ar   art   div   

     recently try to install mysql in my computer so that  I can practise some sql statement on sever.But there are some problem while install mysql package in my ubuntu system.I hava tried lots of ways to move on. at last.I find there is a

best way to install mysql in my computer ,so I want to share with other friends like you who finds solutions for such program and hope my suggetion will give some help,even less..


First  we should keep our system clear to install 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 has running in your system while installed)



Conclusions:

in linux system we hava some troubles on installing software,but there are some easy ways to achieve your goals.

redhat system you can use" yum " to install ,and ubuntu you can use apt-get install  

maybe  help you  and give my best wish to you!

                                                                                                                                                              JiangJian

                                                                                                                                                             in Shanghai

ubuntu install mysql server method,布布扣,bubuko.com

ubuntu install mysql server method

标签:style   color   io   strong   for   ar   art   div   

原文地址:http://www.cnblogs.com/mfrbuaa/p/3926675.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!