mysql作为轻量级开源数据库,在企业级的应用中非常的广泛。我之前用过mssql,oracle,postgresql,mysql。目前阿里云上面暂时没有oracle。就我个人使用情况来看,创建项目我会首选mysql。

卸载已有的mysql

系统中可能早已存在mysql数据库,所以在安装之前我们需要将其卸载掉。

# rpm -qa|grep -i mysql
# yum remove '软件名'
wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpmrpm -ivh mysql-community-release-el7-5.noarch.rpmyum install mysql-community-server
service mysqld restart
mysql -u root
mysql>set password for ‘root‘@'localhost' =password(‘password');
mysql> grant all privileges on *.* to root@'%'identified by ‘password';

更多相关文章

  1. MySQL系列多表连接查询92及99语法示例详解教程
  2. 【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像
  3. 【阿里云镜像】使用阿里巴巴DNS镜像源——DNS配置教程
  4. 【阿里云镜像】切换阿里巴巴开源镜像站镜像——Debian镜像
  5. Android(安卓)- Manifest 文件 详解
  6. Android的Handler机制详解3_Looper.looper()不会卡死主线程
  7. Selector、shape详解(一)
  8. android2.2资源文件详解4--menu文件夹下的菜单定义
  9. Android发送短信方法实例详解

随机推荐

  1. Missing styles. Is the correct theme c
  2. Android的Window类详解
  3. IBM谷歌等工程师撰写Android开发教程合集
  4. 打造android ORM框架opendroid(一)——OR
  5. Android API Guides---Web Apps
  6. Android Tool——Hierachy Viewer可视化
  7. 阅读《Android(安卓)从入门到精通》(9)——
  8. Android之数据存储-刘志远-专题视频课程
  9. 加快android的编译速度
  10. Android开发中Message, MessageQueue, lo