当前位置: 首页 > news >正文

建设检测人员证书查询网站国家企业信用公示信息系统官网app

建设检测人员证书查询网站,国家企业信用公示信息系统官网app,钢结构,网站开发之美 pdf目录 (1)准备工作1.1 更新 brew (2)正式安装2.1 安装MySQL:2.2 启动mysql (3)初始化数据库3.1 选择验证密码组件3.2 密码强度3.3 删除匿名用户3.4 禁用root用户远程连接3.5 删除test数据库3.6 重…

在这里插入图片描述

目录

  • (1)准备工作
    • 1.1 更新 brew
  • (2)正式安装
    • 2.1 安装MySQL:
    • 2.2 启动mysql
  • (3)初始化数据库
    • 3.1 选择验证密码组件
    • 3.2 密码强度
    • 3.3 删除匿名用户
    • 3.4 禁用root用户远程连接
    • 3.5 删除test数据库
    • 3.6 重新载入权限表

(1)准备工作

1.1 更新 brew

更新Homebrew的库:

brew update

(2)正式安装

2.1 安装MySQL:

brew install mysql

在这里插入图片描述

2.2 启动mysql

brew services start mysql

(3)初始化数据库

官方建议刚安装好数据库的时候都要初始化数据,因为这样数据库会更加安全

mysql_secure_installation

3.1 选择验证密码组件

Securing the MySQL server deployment.Connecting to MySQL using a blank password.VALIDATE PASSWORD COMPONENT can be used to test passwords
and improve security. It checks the strength of password
and allows the users to set only those passwords which are
secure enough. Would you like to setup VALIDATE PASSWORD component?Press y|Y for Yes, any other key for No: y

验证密码组件可用于测试密码,并提高安全性。它检查密码的强度,并允许用户仅设置以下密码足够安全。您想设置验证密码组件吗?
一般都选择y,我输入的 y

3.2 密码强度

There are three levels of password validation policy:LOW    Length >= 8
MEDIUM Length >= 8, numeric, mixed case, and special characters
STRONG Length >= 8, numeric, mixed case, special characters and dictionary                  filePlease enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 1
Please set the password for root here.

有三种密码强度的策略
低级密码:密码长度大于等于8
中级密码:密码长度大于等于8,并且是数字,大小写混合,特殊字符
强密码:密码长度大于等于8,并且数字,大小写混合,特殊字符和字典文件
我选择的是1,中级密码强度,输入完之后会再输入root密码

3.3 删除匿名用户

By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
Success.

MySQL安装默认具有匿名用户,允许任何人登录MySQL,而无需为他们创建的用户帐户。这仅适用于测试,并使安装过程更加顺利。在进入生产之前,您应该删除它们环境。
一般选择 y

3.4 禁用root用户远程连接

Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y
Success.

通常,只允许root连接“本地主机”。这确保了别人不能通过网络访问你的root用户,我是本地安装的 mysql,因此就选择y,就是不允许root用户远程连接

3.5 删除test数据库

By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y- Dropping test database...
Success.

默认情况下,MySQL附带了一个名为“test”的数据库,任何人都可以访问。这也仅用于测试,在投入生产之前,应将其删除。
我选择的删除这个test库

3.6 重新载入权限表

Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
Success.All done!

重新加载权限表将确保迄今为止所做的所有更改立即生效。
选择y,之后就会重新刷新权限,至此mysql就安装完成了

http://www.yayakq.cn/news/973440/

相关文章:

  • 网站如何做伪静态页面网站建设费用计入哪个科目
  • 网站内页权重石柱县建设局网站
  • 淮北建设银行官方网站网站的安全度
  • 邢台建站企业邮箱隆尧做网站
  • 专业的餐饮加盟网站建设哪些网站设计的比较好
  • wordpress全站ajax主题可以做ppt的网站有哪些内容
  • 网站内容有什么特点公司企业logo
  • 自助下单网站微信推广多少钱一次
  • 网站建设业务员转换大做网站代码编辑工具
  • 上海网站建设的价格是多少钱怎么做卡盟网站免费
  • 创建一个个人网站需要多少钱网页开发与设计的内容
  • php网站连接数据库教程山东教育网站开发公司
  • 网站开发项目答辩ppt网站开发已有的知识储备
  • c2c模式的概念自己网站做搜索引擎优化
  • 做网站美工的前途怎么样软件介绍网站模板
  • 每一个网站都是响应式吗舞台灯光网站建设公司
  • 毕业设计代做哪个网站好外贸网站优势
  • 电商网站上信息资源的特点包括怎么进入公众号
  • 网站做统计网络工具app
  • php网站开发框架搭建在线网站建设建议
  • 个人网站怎么做淘宝客微信公众号文章怎么转换wordpress
  • 网站流量突然暴增罗湖网站建设联系电话
  • 四川大良网站建设深圳市福田区652号
  • 长春市住房和城乡建设局网站wordpress读取父分类列表
  • gudao网站建设论坛网站制作
  • iis网站发布默认首页手机版网站建设软件
  • 大型网站建设地址wordpress主题 知乎
  • 网站建设服务宗旨如何注册企业邮箱?
  • 50个优秀网站北京网站建设新闻
  • 马鞍山市重点工程建设管理局网站如何个网站做优化