From a69e8836d0162007575d3ed9eae4a604454f5b7f Mon Sep 17 00:00:00 2001 From: msincenselee Date: Sat, 14 Nov 2015 21:41:48 +0800 Subject: [PATCH] merge --- vn.training/display_bar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vn.training/display_bar.py b/vn.training/display_bar.py index ad6f4cb3..8d743c7a 100644 --- a/vn.training/display_bar.py +++ b/vn.training/display_bar.py @@ -6,7 +6,7 @@ import matplotlib.pyplot as plt 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)