Commit 8b916ef4 authored by 高雅喆's avatar 高雅喆

update

parent ce159468
......@@ -151,8 +151,8 @@ if __name__ == '__main__':
["stat_date", "cl_id", "tag_list"])
result_last.show()
result_last.write.jdbc(
url='jdbc:mysql://172.16.40.158/jerry_test?user=root&password=3SYz54LS9#^9sBvC',
mode="overwrite",
url="jdbc:mysql://172.16.40.158:4000/jerry_test?user=root&password=3SYz54LS9#^9sBvC",
table="user_portrait_tags",
properties={"driver": 'com.mysql.jdbc.Driver'})
except Exception as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment