网站地图    收藏   

主页 > 后端 > mysql数据库 >

ubuntuinstallmysqlservermethod - mysql数据库栏目 - 自学

来源:自学PHP网    时间:2015-04-16 10:51 作者: 阅读:

[导读] 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...

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

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论