mysql数据库怎么安 mysql数据库安装

mysql数据库怎么安装

从MSQL官网下载MySQL服务器安装软件包,下面以mysql-installer-community-5.7.3.0-m13.msi为例。

在麒麟等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供成都做网站、网站制作 网站设计制作按需设计网站,公司网站建设,企业网站建设,品牌网站设计,全网整合营销推广,外贸营销网站建设,麒麟网站建设费用合理。

1、双击进入安装

2、在协议许可(License Agreement)界面,勾选“I accept the license terms”,点击“Next”。

3、在检查更新信息(Find latest products)界面,勾选“Skip the check for updates(no recommended)”跳过检查,然后点击“Next”。

4、在选择安装类型(Choosing a Setup Type)界面,根据安装需求选择安装类型(推荐默认开发版本),设置MySQL安装路径和数据存放路径,最后点击“Next”。

5、在检查要求(Check Requirements)界面,点击“Next”。

6、安装进度(Installation progress)界面,点击“Execute”执行。

7、等待安装进度完毕,点击“Next”。

8、进入配置概述(Configuration Overview)界面,点击“Next”。

9、在MySQL服务配置(MySQL Server Configuration)界面,默认不做修改,点击“Next”。

10、设置根账户(root账户)密码。

11、添加(非根)用户账户。其目的是便于数据库权限管理,为远程访问者提供安全账户。

12、默认windows服务配置不做修改,点击“Next”。

13、回到配置概述(Configuration Overview)界面,安装完毕点击“Next”。

14、MySQL安装完成(Installation Complete),点击“Finish”。

15、若勾选“安装后启动Mysql工作台”(Start Mysql Workbench after Setup),可见如下界面。

注意:MySQL环境变量配置。

在windows命令提示符中输入mysql,提示“mysql”不是内部或外部命令。只需将MySQL安装路径添加系统环境变量即可。

如安装路径为“D:\Program Files\MySQL”目录,则进入mysql server的bin目录下复制路径;其次在环境变量中编辑变量Path,变量值中输入“;”后粘贴“D:\Program Files\MySQL\MySQL Server 5.7\bin”路径,最后从新打开命令提示符窗口运行mysql即可。

怎样安装Navicat for MySQL数据库

Navicat for MySQL 安装软件和破解补丁免费下载

链接:

提取码:ultn  

Navicat for MySQL是一套管理和开发MySQL或MariaDB的理想解决方案,支持单一程序,可同时连接到MySQL和MariaDB。这个功能齐备的前端软件为数据库管理、开发和维护提供了直观而强大的图形界面,给MySQL或MariaDB新手以及专业人士提供了一组全面的工具。

如何安装MYSQL

使用yum安装mysql数据库的软件包 [root@xuegod63 ~]# yum -y install mariadb-server mariadb 。

注:  mariadb-server   #MariaDB数据库 mariadb      # MariaDB服务器Linux下客户端 。

注:从centos7系统开始,系统中自带的mysql数据库变成了mariadb-server,mariadb-server和mysql操作上一样。mariadb-server是mysql的一个分支。

启动数据库服务[root@xuegod63 ~]# systemctl start  mariadb  #启动MariaDB服务。[root@xuegod63 ~]# systemctl enable  mariadb  #设置开启自动启动MariaDB服务。

安装完mariadb-server后,运行mysql_secure_installation去除安全隐患,[root@xuegod63 ~]# mysql_secure_installation #进入安全配置导向。

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQLSERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!

In order to log into MySQL to secure it, we'll need the current,password for the root user. If you've just installed MySQL, and,you haven't set the root password yet, the password will be blank,,so you should just press enter here.Enter current password for root (enter for none):   #初次运行直接回车,因为root用户没有密码。

OK, successfully used password, moving on,Setting the root password ensures that nobody can log into the MySQL,root user without the proper authorisation.,Set root password? [Y/n] Y #是否设置root用户密码,输入Y。

New password: 123456   #新密码123456,Re-enter new password: 123456,Password updated successfully!Remove anonymous users? [Y/n] Y   #是否删除匿名用户,生产环境建议删除,所以直接回车或Y。

Success!Normally, root should only be allowed to connect from 'localhost'.  Thisensures that someone cannot guess at the root password from the network.Disallow root login remotely? [Y/n] Y  #是否禁止root远程登录,根据自己的需求选择Y/n并回车建议禁止。

Success!By default, MariaDB comes with a database named 'test' that anyone canaccess.  This is also intended only for testing, and should be removedbefore moving into a production environment.Remove test database and access to it? [Y/n] Y   #是否删除test数据库,直接回车或Y。

分享文章:mysql数据库怎么安 mysql数据库安装
当前地址:https://www.cdcxhl.com/article34/hhjcse.html

成都网站建设公司_创新互联,为您提供商城网站网站营销网页设计公司企业建站网站策划网站设计公司

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

微信小程序开发