NBlog icon indicating copy to clipboard operation
NBlog copied to clipboard

创建 MySQL 数据库nblog问题

Open Zhangyide114514 opened this issue 2 years ago • 0 comments

创建 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 TABLE about (' 进而后续的“npm install” 也无法运行,返回: -bash: d: command not found

Zhangyide114514 avatar Dec 23 '23 19:12 Zhangyide114514