Skip to content

创建 MySQL 数据库nblog问题 #121

@Zhangyide114514

Description

@Zhangyide114514

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions