Giter VIP home page Giter VIP logo

Comments (1)

burnszp avatar burnszp commented on July 19, 2024

这个mysql我也是用source guns-lite.sql,结果报错,一条一条执行就没问题,心塞喽了
mysql> select database();
+------------+
| database() |
+------------+
| guns_lite |
+------------+
1 row in set (0.00 sec)

mysql> source C:\Users\Administrator\Downloads\guns-lite-master\guns-admin\sql\guns-lite.sql
ERROR:
Unknown command '\U'.
ERROR:
Unknown command '\A'.
ERROR:
Unknown command '\D'.
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 'source C:\Users\Administrator\Downloads' at line 1
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 'uns-lite-master' at line 1

mysql Ver 14.14 Distrib 5.7.18, for Win64 (x86_64)

Connection id: 3
Current database: guns_lite
Current user: root@localhost
SSL: Not in use
Using delimiter: ;
Server version: 5.7.18 MySQL Community Server (GPL)
Protocol version: 10
Connection: localhost via TCP/IP
Server characterset: utf8
Db characterset: utf8
Client characterset: utf8
Conn. characterset: utf8
TCP port: 3306
Uptime: 8 min 55 sec

Threads: 1 Questions: 20 Slow queries: 0 Opens: 105 Flush tables: 1 Open tables: 98 Queries per second avg: 0.037

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 'uns-adminql' at line 1
-> ^C

后来楼主推荐用navicat连mysql和oracle进行操作的没遇到什么问题工具效率高

from guns-lite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.