暂无图片
暂无图片
2
暂无图片
暂无图片
暂无图片
MySQL8.0认证 1Z0-908考题汇总.pdf
153
182页
7次
2025-05-08
5墨值下载
mysql 8.0
1
Choose the best answer.
Examine these statements and output:
mysql> GRANT PROXY ON accounting@localhost TO ' '@'%' ;
mysql> SELECT USER(), CURRENT_USER(), @@proxy_user;
Which statement is true?
A) The user failed to define a username and the connecting username defaulted to ' '@'%'.
B) The user is authorized as the rsmith@localhost user.
C) The user is authenticated as the anonymous proxy user ' '@'%'.
D) The user is logged in with --user=accounting as an option.
E) The user is authorized as the accounting@localhost user.
AnswerE
分析:proxy 用户创建构成
-- create proxy account
CREATE USER 'employee_proxy'@'%' identified by '123456';
-- create proxied account and grant its privileges;
CREATE USER 'employee'@'localhost' identified by '123456';
GRANT ALL ON *.* TO 'employee'@'localhost';
-- grant to proxy account the
GRANT PROXY ON 'employee'@'localhost' TO 'employee_proxy'@'%';
https://dev.mysql.com/doc/refman/8.0/en/proxy-users.html
CURRENT_USER()的权限是真正当前作用的用户权限。
2
Choose two.
Which two actions can obtain information about deadlocks?
A) Run the SHOW ENGINE INNODB MUTEX command from the mysql client.
B) Enable the innodb_status_output_locks global parameter.
C) Enable the innodb_print_all_deadlocks global parameter.
D) Run the SHOW ENGINE INNODB STATUS command from the mysql client.
E) Use the sys.innodb_lock_waits view.
AnswerC D
innodb_print_all_deadlocks
When this option is enabled, information about all deadlocks in InnoDB user transactions is
recorded in the mysqlderror log. Otherwise, you see information about only the last deadlock,
using the SHOW ENGINE INNODB STATUScommand.
of 182
5墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜