mysql8.0英文OCP考试第131-140题

Q131.You have upgraded the MySQL binaries from 5.7.28 to 8.0.18 by using an in-place upgrade.

Examine the message sequence generated during the first start of MySQL 8.0.18:

。。。[System]。。。/usx/sbin/mysqld (mysqld 8.0.18-commercial) starting as process 2754

。。。[System]。。。Starting upgrade of data directory. .

。。。[ERROR]。。。。Table upgrade required. Please do ‘’REPAIR TABLE ‘columns_ priv'" or dump/reload to fix it!

。。。[ERROR]。。。Table upgrade required. Please do "REPAIR TABLE ‘event’" or dump/reload to fix it!

。。。[ERROR]。。。Table upgrade required. Please do "REPAIR TABLE ’proc'" or dump/reload to fix it!

。。。[ERROR]。。。Table upgrade required. Please do "REPAIR TABLE ’proxies_ priv’" or dump/reload to fix it!

。。。[ERROR]。。。Table upgrade required. Please do "REPAIR TABLE ‘tables_ priv’" or dump/reload to fix it!

。。。[ERROR]。。。Failed to open mysql.event Table.

。。。[ERROR]。。。Failed to open mysql.proc Table.

。。。(ERROR]。。。Failed to Populate DD tables.

。。。[ERROR]。。。Aborting

。。。[System] 。。。 /usr/sbin/mysqld: shutdown complete (mysqld 8.0.18-commercial) MySQL Enterprise Server - Commercial.

Which step or set of steps will resolve the errors?

A)Start mysqld again using the --upgrade=FORCE option.

B)Go to the <datadir>/mysql directory and execute: myisamchk --update-state columns_ priv event proc proxies_ priv tables_ priv.

C)Execute: mysqlcheck --repair mysql columns_ priv event proc proxies_ priv tables_ priv.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值