zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    net core 使用 rabbitmq
    asp.net core WebApi 返回 HttpResponseMessage
    asp.net core 2.1 WebApi 快速入门
    JQuery EasyUI combobox动态添加option
    php截取字符去掉最后一个字符
    JQuery EasyUI Combobox的onChange事件
    对于不返回任何键列信息的 selectcommand 不支持 updatecommand 的动态 sql 生成
    Access2007 操作或事件已被禁用模式阻止解决办法
    Easyui 中 Tabsr的常用方法
    Win 7 IE11不能下载文件,右键另存为也不行
  • 原文地址:https://www.cnblogs.com/mfrbuaa/p/3926675.html
Copyright © 2011-2022 走看看