Naccl / NBlog

🍓 Spring Boot + Vue 前后端分离博客系统 https://naccl.top
https://naccl.top
MIT License
2.38k stars 539 forks source link

创建 MySQL 数据库nblog问题 #121

Open Zhangyide114514 opened 10 months ago

Zhangyide114514 commented 10 months ago

创建 MySQL 数据库的时候没有让我选择命名空间?或者类型?没发现nblog之类的选项,所以我将NBlog-master内的文件解压后放入了我的/www/www/公网IP文件夹内,在控制台输入source /www/www/公网IP/blog-api/nblog.sql 初始化表数据 返回: -bash: SET: command not found -bash: SET: command not found -bash: --: command not found -bash: --: command not found -bash: --: command not found -bash: about: command not found -bash: DROP: command not found /www/www/公网IP/blog-api/nblog.sql: line 8: syntax error near unexpected token `(' /www/www/公网IP/blog-api/nblog.sql: line 8: CREATE TABLEabout` (' 进而后续的“npm install” 也无法运行,返回: -bash: d: command not found