xuexb / blog

前端小武的博客
https://xuexb.com
11 stars 4 forks source link

数据表创建语言好像没有 #48

Closed sguzwf closed 7 years ago

sguzwf commented 8 years ago

± |master U:1 ?:1 ✗| → node --harmony www/testing.js [2016-04-21 09:38:06] [THINK] Server running at http://127.0.0.1:8360/ [2016-04-21 09:38:06] [THINK] ThinkJS Version: 2.2.1 [2016-04-21 09:38:06] [THINK] Cluster Status: closed [2016-04-21 09:38:06] [THINK] WebSocket Status: closed [2016-04-21 09:38:06] [THINK] File Auto Compile: true [2016-04-21 09:38:06] [THINK] File Auto Reload: false [2016-04-21 09:38:06] [THINK] App Enviroment: testing

[2016-04-21 09:38:11] [Warning] db.name is deprecated, use db.database instead [2016-04-21 09:38:11] [Warning] db.pwd is deprecated, use db.password instead [2016-04-21 09:38:11] [SOCKET] Connect mysql with mysql://root:821018wc@127.0.0.1:3306/blog [2016-04-21 09:38:11] [SQL] SHOW COLUMNS FROM think_list 17ms [2016-04-21 09:38:11] [Error] Error: ER_NO_SUCH_TABLE: Table 'blog.think_list' doesn't exist at Query.Sequence._packetToError (/data/docs/downdoc/blog/node_modules/thinkjs/node_modules/mysql/lib/protocol/sequences/Sequence.js:48:14)

xuexb commented 8 years ago

额,我之前做的时候没考虑别人用,代码很挫,基本是想到啥就写啥,不建议使用,blog类型代码你可以看下: 75team/firekylin 这个~

感谢你的关注~

sguzwf commented 8 years ago