Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

老哥,請問一下mysql問題 #1

Open
XiangLinMao opened this issue Dec 28, 2017 · 14 comments
Open

老哥,請問一下mysql問題 #1

XiangLinMao opened this issue Dec 28, 2017 · 14 comments

Comments

@XiangLinMao
Copy link

(2003, "Can't connect to MySQL server on 'localhost' ([Errno 61] Connection refused)")
老是出現這個問題?可以幫我解決一下咪

@xiaoqin00
Copy link
Owner

确定mysql运行良好并且建好了数据库?

@XiangLinMao
Copy link
Author

数据库就安裝mysql就可以了嗎?

@XiangLinMao
Copy link
Author

Request Method: GET
http://127.0.0.1:8000/baseAction?target=
1.11.8
InternalError
(1049, u"Unknown database 'test'")
/Users/jackmao/anaconda2/lib/python2.7/site-packages/pymysql/err.py in raise_mysql_exception, line 107
/Users/jackmao/anaconda2/bin/python
2.7.13
['/Users/jackmao/Downloads/00scanner-master', '/Users/jackmao/anaconda2/lib/python27.zip', '/Users/jackmao/anaconda2/lib/python2.7', '/Users/jackmao/anaconda2/lib/python2.7/plat-darwin', '/Users/jackmao/anaconda2/lib/python2.7/plat-mac', '/Users/jackmao/anaconda2/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/jackmao/anaconda2/lib/python2.7/lib-tk', '/Users/jackmao/anaconda2/lib/python2.7/lib-old', '/Users/jackmao/anaconda2/lib/python2.7/lib-dynload', '/Users/jackmao/anaconda2/lib/python2.7/site-packages', '/Users/jackmao/anaconda2/lib/python2.7/site-packages/aeosa']
Thu, 28 Dec 2017 14:26:19 +0000

出現訊息是這樣子的,應該是沒有建立數據庫吧?但是要怎麼建立哩?

@xiaoqin00
Copy link
Owner

确定数据库运行良好的情况下,在代码中找到数据库的名称等信息,我都写在代码里的,建好后再连接。你没建好直接连当然连接不通。
话说,我这项目还没做好勒,做一半停下干其他事了,你还要吗【笑哭】。

@BATCarloX
Copy link

请问下数据库表里面的字段怎么找?

@xiaoqin00
Copy link
Owner

去代码里面翻下,我写在代码里面了的

@ymbzd
Copy link

ymbzd commented Mar 25, 2019

老哥 你这个项目很看好啊 会接着做吗

@xiaoqin00
Copy link
Owner

现在看这个项目写得一团糟。还是会继续写扫描器,但是会在技术上再升级,已经有个初代版本了,一个人搞得慢

@xiaoqin00
Copy link
Owner

老哥 你这个项目很看好啊 会接着做吗

现在看这个项目写得一团糟。还是会继续写扫描器,但是会在技术上再升级,已经有个初代版本了,一个人搞得慢

@ymbzd
Copy link

ymbzd commented Apr 15, 2019

现在还真的没什么好的信息搜集的好工具,希望大佬可以继续完善这个项目或者可以写一个相关的项目,感谢大佬的回复

@lyyyyyd
Copy link

lyyyyyd commented May 14, 2019

大佬,数据库的表结构有点不太清楚

@KNulL0
Copy link

KNulL0 commented May 27, 2020

大佬文件里没models文件啊,数据库结构什么样

@xiaoqin00
Copy link
Owner

很抱歉,现在回复这个问题,短短几年,经历颇多。
这个项目中得数据表配置文件按上传时已剥离,大家可以从代码中恢复数据表字段,运行会报错的,根据报错定位就行了,十分钟就出来了。
我也拿不出来了,这个项目后续经过多轮迭代,进行了两次更新重构,实现了更多的功能更好的效果,也做成了分布式扫描器。
然而一个人人力有时限,在忙其他项目之后这个项目就暂停开发了,如果大家还是有问题,可以联系我[email protected]

@xiaoqin00
Copy link
Owner

【其实,那个models文件我也找不到了。。。】

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants