70 Star 183 Fork 517

openEuler / docs

 / 详情

【资料单】修改管理员指南的搭建数据库服务器部分出错问题

已完成
缺陷
创建于  
2020-06-11 16:06

【环境信息】
系统:aarch64 虚拟机 内存:4g
cpu:4核
OS版本: 版本 openEuler-20.03-LTS-aarch64
【问题复现步骤】
一、搭建数据库服务
1.mariadb服务器的管理数据库用户章节中:
创建用户的示例中第二个IDENTIFIED有误

示例
#创建密码为 123456,用户名为 userexample1 的本地用户。

CREATE USER 'userexample1'@'localhost' IDENTIFIED BY '123456';
#创建密码为 123456,用户名为 userexample2,主机名为 192.168.1.100 的用户。
CREATE USER 'userexample2'@'192.168.1.100' IDENDIFIED BY '123456';

修改为如下内容:
#创建密码为 123456,用户名为 userexample1 的本地用户。

CREATE USER 'userexample1'@'localhost' IDENTIFIED BY '123456';
#创建密码为 123456,用户名为 userexample2,主机名为 192.168.1.100 的用户。
CREATE USER 'userexample2'@'192.168.1.100' IDENTIFIED BY '123456';

2.mariadb服务器的备份数据库章节
示例的最后一个sql有误:
#只备份主机为 192.168.202.144,端口为 3306,root 用户下的 db1 数据库的数据到
db1.sql 中。
# mysqldump -h 192.168.202.144 -P 3306 -uroot -p123456 -t db1 > db1.sq

修改为如下内容:
#只备份主机为 192.168.202.144,端口为 3306,root 用户下的 db1 数据库的数据到
db1.sql 中。
# mysqldump -h 192.168.202.144 -P 3306 -uroot -p123456 -t db1 > db1.sql

补充说明?:修改对应分支为dev,mysql服务部分和mariadb有以上两个相同的问题

评论 (1)

6++ 创建了缺陷
6++ 关联仓库设置为openEuler/docs
展开全部操作日志

Hey @6++, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

6++ 修改了描述
6++ 修改了描述
fhxing 任务状态待办的 修改为修复中
fhxing 负责人设置为fhxing
fhxing 通过openeuler/docs Pull Request !151任务状态修复中 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/openeuler/docs.git
git@gitee.com:openeuler/docs.git
openeuler
docs
docs

搜索帮助