创建 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
创建 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