单选题You have forgotten the root user account password. You decide to reset the password and execute the following: Shell> /etc/init.d/mysql stop Shell> /etc/init.d/mysql start – skip-grant tables Which additional argument makes this operation safer?()A –sk

题目
单选题
You have forgotten the root user account password. You decide to reset the password and execute the following: Shell> /etc/init.d/mysql stop Shell> /etc/init.d/mysql start – skip-grant tables Which additional argument makes this operation safer?()
A

–skip-networking, to prohibit access from remote locations

B

–reset-grant-tables, to start the server with only the mysql database accessible

C

–read-only,to set all data to read-only except for super users

D

–old-passwords, to start Mysql to use the old password format while running without the grant tables

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在Linux系统中有如下3个语句,请分别说出它们所执行的任务的名称。

1) /etc/rc.d/init.d/dhcpd start。

2) /etc/rc.d/init.d/dhcpd stop。

3) /etc/rc.d/init.d/dhcpd restart。


正确答案:(1)启动。 (2)停止。 (3)重新启动。
(1)启动。 (2)停止。 (3)重新启动。 解析:在终端窗口用命令进行关闭、启动和重启DHCP服务进程等操作,如:
/etc/rc.d/init.d/dhcpd restart
letc/rc.d/init.d/dhcpd stop
/etc/rc.d/init.d/dhcpd start
还可以使用senice命令,进行关闭、启动和重启操作:
service dhcpd start
service dhcpd stop
service dhcpd restart

第2题:

Mysqldump was used to create a single schema backup; Shell> mysqldump –u root –p sakila > sakila2013.sql Which two commands will restore the sakila database without interfering with other running database?()

  • A、Mysql> USE sakila; LOAD DATA INFILE 'sakila2013.sql';
  • B、Shell> mysql –u root –p sakila sakila2013.sql
  • C、Shell> mysql import –u root –p sakila sakila2013.sql
  • D、Shell> mysql  –u root -p  –e 'use sakila; source sakila2013.sql'
  • E、Shell> mysql  –u root  –p  –silent < sakila2013.sql

正确答案:B,D

第3题:

You have forgotten the root user account password. You decide to reset the password and execute the following:Shell> /etc/init.d/mysql stopShell> /etc/init.d/mysql start – skip-grant tablesWhich additional argument makes this operation safer?()

A.–skip-networking, to prohibit access from remote locations

B.–reset-grant-tables, to start the server with only the mysql database accessible

C.–read-only,to set all data to read-only except for super users

D.–old-passwords, to start Mysql to use the old password format while running without the grant tables


参考答案:A

第4题:

如何启动ntp服务()

  • A、/etc/init.d/ntpd start
  • B、ntpstart
  • C、/etc/init.d/ntpd stop
  • D、/etc/init.d/ntpd status

正确答案:A

第5题:

A system is being booted into maintenance mode due to root password recovery.  After accessing the root volume group and starting a shell without mounting the file systems, what is the next step?()  

  • A、Delete root’s password from the /etc/security/passwd file.
  • B、Use the diag recovery tool option to reset root’s password.
  • C、Execute the ’passwd’ command and assign a new passwd to root UId
  • D、Mount the / and /usr filesystems on alternative mount points to edit the password file.

正确答案:D

第6题:

Mysqldump was used to create a single schema backup; Shell> mysqldump –u root –p sakila > sakila2013.sqlWhich two commands will restore the sakila database without interfering with other running database?()

A.Mysql> USE sakila; LOAD DATA INFILE ‘sakila2013.sql‘;

B.Shell> mysql –u root –p sakila sakila2013.sql

C.Shell> mysql import –u root –p sakila sakila2013.sql

D.Shell> mysql –u root -p –e ‘use sakila; source sakila2013.sql‘

E.Shell> mysql –u root –p –silent < sakila2013.sql


参考答案:B, D

第7题:

A system is being booted into maintenance mode due to root password recovery.After accessing the root volume group and starting a shell without mounting the file systems, what is the next step?()

  • A、Delete root's password from the /etc/security/passwd file
  • B、Use the diag recovery tool option to reset root's password
  • C、Execute the ‘passwd’ command and assign a new passwd to root UID
  • D、Mount the / and /usr filesystems on alternative mount points to edit the password file

正确答案:D

第8题:

You are using CTIDS in replication. You need to skip a transaction with the CTID of aaa-bbb-cccddd-eee : 3 on a slave. Which command would you execute from a Mysql prompt?()

A.STOP SLAVE; SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; START SLAVE

B.STOP SLAVE; BEGIN; SET GTID_IGNORE="aaa-bbb-ccc-ddd-eee: 3"; COMMIT; START SLAVE

C.STOP SLAVE; SETGTID_NEXT="aaa-bbb-ccc-ddd-eee: 3"; BEGIN; COMMIT; SET GTID_NEXT="AUTOMATIC"; START SLAVE

D.STOP SLAVE; RESET SLAVE; BEGIN; SKIP NEXT GTID; COMMIT; START SLAVE


参考答案:C

第9题:

You are the administrator of 30 Windows XP Professional computers. The computers are not members of a domain. Users of the Windows XP Professional computers encrypt files on the local computers. A user named Stephen reports that he cannot remember his current password. However, he does remember his previous password. Before he changed to his current password, Stephen created a password reset disk. You want to ensure that Stephen can log on to his Windows XP Professional computer again, and that he can open the encrypted files. What should you do?() 

  • A、Reset Stephen's password and instruct Stephen to log on with the new password.
  • B、Reset Stephen's password and then use the password reset disk.
  • C、Instruct Stephen to log on with his previous password. 
  • D、Instruct Stephen to use the password reset disk to set a new password on his account.
  • E、Use the Forgotten Password Wizard to create a new password reset disk for Stephen.
  • F、Use this disk to set a new password on Stephen's account.

正确答案:C

第10题:

如何启动xinted服务()。

  • A、/etc/init.d/cron start
  • B、/etc/init.d/httpd start
  • C、/etc/init.d/xinted start
  • D、service xinted start

正确答案:C,D

更多相关问题