Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

导入数据库导入不成功 #19

Open
GHyangyangyang opened this issue Feb 27, 2021 · 2 comments
Open

导入数据库导入不成功 #19

GHyangyangyang opened this issue Feb 27, 2021 · 2 comments

Comments

@GHyangyangyang
Copy link

大佬你好 运行到 导入数据库(会删除表清空数据) ./go-fly install 这里 不知道怎么弄
我是运行的源码 在代码根目录下执行 ./go-fly install 会报错 zsh: command not found: go-fly
我使用的是MAC
请大佬指教

@GHyangyangyang
Copy link
Author

使用sql文件直接导入 报错
Error at query 1: 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 '|
CREATE TABLE user (
id int(11) NOT NULL AUTO_INCREMENT,
name varchar(5' at line 1

我使用的MYSQL 版本是 5.7.18

@taoshihan1991
Copy link
Owner

go run go-fly.go install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants