xiaobaiya___ 2022-02-13 21:19 采纳率: 0%
浏览 38

用xampp引入mysql文件为什么显示Unknown command ?

Setting environment for using XAMPP for Windows.
Administrator@PC-20220212FAJE d:\xampp

mysql -uroot

Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 10.1.19-MariaDB mariadb.org binary distribution

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> mysql -uroot<C:\Users\Administrator\Desktop\mt.sql
ERROR: Unknown command '\U'.
ERROR: Unknown command '\A'.
ERROR: Unknown command '\D'.
ERROR: Unknown command '\m'.
->

  • 写回答

1条回答 默认 最新

  • 三千烦恼丝xzh 2022-02-13 21:49
    关注

    反斜杠可能需要转义

    评论

报告相同问题?

问题事件

  • 创建了问题 2月13日

悬赏问题

  • ¥15 速帮,学校需要在外上班没空
  • ¥15 人在外地出差,速帮一点点
  • ¥15 如何使用canvas在图片上进行如下的标注,以下代码不起作用,如何修改
  • ¥15 Windows 系统cmd后提示“加载用户设置时遇到错误”
  • ¥50 vue router 动态路由问题
  • ¥15 关于#.net#的问题:End Function
  • ¥15 无法import pycausal
  • ¥15 VS2022创建MVC framework提示:预安装的程序包具有对缺少的注册表值的引用
  • ¥15 weditor无法连接模拟器Local server not started, start with?
  • ¥20 6-3 String类定义