Changed the database user in sampling script.
This commit is contained in:
parent
b55784c099
commit
fabb57d0e4
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import configuration
|
|||
TBLSTRING = "SMPL"
|
||||
|
||||
def sample(size):
|
||||
conn = MySQLdb.connect(configuration.DB_HOSTNAME,configuration.DB_USERNAME,configuration.DB_PASSWORD,configuration.DB_NAME)
|
||||
conn = MySQLdb.connect(configuration.DB_HOSTNAME,configuration.DB_WRITE_USERNAME,configuration.DB_WRITE_PASSWORD,configuration.DB_NAME)
|
||||
curs = conn.cursor()
|
||||
|
||||
curs.execute("SELECT DISTINCT `table` FROM _wsviews")
|
||||
|
|
Loading…
Add table
Reference in a new issue