mysql命令行基本操作 开启:打开电脑的“开始”菜单栏,找到“运行”,在运行框中直接输入:net start mysql。再 登录:Mysql -P 端口号 -h mysql主机名ip -u root (用户) -p