单项选择题

要想从DOS 命令下进入MySQL 控制台,首先必须做什么()

A.开启环境
B.输入命令MySQL -h localhost -u root -p
C.设置环境变量
D.设置my.ini 配置文件