text: #! /usr/bin/python3
  # -*- coding: utf-8 -*-
  #
  #	mysql_update.py
  #
  #					Jul/25/2014
  #
  # --------------------------------------------------------
  import	sys
  import	string
  import	mysql.connector
  #
  sys.path.append ('/var/www/data_base/common/python_common')
  from sql_manipulate import sql_display_proc,sql_update_proc
  #
  # --------------------------------------------------------
  print ("*** 開始 ***")
  #
  id_in = sys.argv[1]
  population_in = int (sys.argv[2])
  print ("%s\t%d" % (id_in, population_in))
  #
  conn = mysql.connector.connect (host="host_mysql",db="city", \
  			user="scott", passwd="tiger")
  #
  cursor = conn.cursor ()
  #
  #
  sql_update_proc	(cursor,id_in,population_in)
  conn.commit ()
  #
  sql_display_proc (cursor)
  #
  cursor.close ()
  conn.close ()
  print ("*** 終了 ***")
  #
  # --------------------------------------------------------
  