mysql server for ubuntu_ubuntu install mysql server method

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值