merge
This commit is contained in:
parent
3f082b40f7
commit
a69e8836d0
@ -6,7 +6,7 @@ import matplotlib.pyplot as plt
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
#连接数据库
|
#连接数据库
|
||||||
conn = MySQLdb.connect(host='vnpy.cloudapp.net', user='stockcn', passwd='7uhb*IJN', db='BackTest', port=3306)
|
conn = MySQLdb.connect(host='vnpy.cloudapp.net', user='vnpy', passwd='vnpy', db='BackTest', port=3306)
|
||||||
|
|
||||||
#获取指针
|
#获取指针
|
||||||
cur = conn.cursor(MySQLdb.cursors.DictCursor)
|
cur = conn.cursor(MySQLdb.cursors.DictCursor)
|
||||||
|
Loading…
Reference in New Issue
Block a user