What are four capabilities of the mysql client program?

What are four capabilities of the mysql client program?

What are four capabilities of the mysql client program?

A.
Creating and dropping databases

B.
Creating, dropping, and modifying tables and indexes

C.
Shutting down the server by using the SHUTDOWN command

D.
Creating and administering users

E.
Displaying replication status information

F.
Initiating a binary backup of the database by using the START BACKUP command

Explanation:



Leave a Reply 10

Your email address will not be published. Required fields are marked *


wolfsrudel

wolfsrudel

A, B, D, E.

andre

andre

only mysql server can create and dropping the database
so BDEF is correct…

Me

Me

ABDE, mysqladmin can also create and drop database.

vasben

vasben

With mysql (client) you can create and drop databases:

mysql> create database mydb;
Query OK, 1 row affected (0.00 sec)

mysql> drop database mydb;
Query OK, 0 rows affected (0.00 sec)

You can’t start backups:

mysql> START BACKUP;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘BACKUP’ at line 1

Jdo

Jdo

e. Displaying replication status information

MariaDB [(none)]> show slave status\G
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: myhostmachine
Master_User: repl_user
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000249
……
……
……

jim

jim

why C is not the answer?
#mysqladmin shutdown => mysqladmin can shutdown the server

Arun

Arun

mysql client is different from mysqladmin client.

mysql client cannot shutdown the server whereas mysqladmin client can.

Venkat

Venkat

I think ABCDE :)…

Why not A ..use mysql client program login to the database and issue create database.