暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

MySQL5.7 OCP每日一题--Question: 7

原创 everything 2024-04-29
49

Question: 7

You are setting up a new installation of MySQL Server 5.7 (a GA release.) You have used a ZIP or TAR package to ensure that the mysqld binary, along with its support files, such as plug-ins and error messages, now exist on the host. Assume that the default datadir exists on the host. You installed the binary in the default location (the default --basedir value) for your operating system. Which step should you perform before defining your own databases and database tables? A. Execute a command with a minimal form of: mysqld --initialize B. Register mysqld as a service that will start automatically on this host machine. C. Create a configuration file containing default-storage-engine=InnoDB. D. Set an exception in the host machine’s firewall to allow external users to talk to mysqld. E. Create additional login accounts (so that everyone does not need to login as root) and assign them appropriate privileges.
复制

答案:A
解析:使用tar包或zip包安装数据,由于是直接解压缩后使用,必须先执行初始化操作,否则无法启动数据库实例

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

文章被以下合辑收录

评论