Skip to content

Releases: verytalk/export-select-to-insert-golang

v1.0

23 Mar 05:16
Compare
Choose a tag to compare

v1.0

Explain config file

mysql:
  user : root  				# mysql user
  password : root 			# mysql password
  host : 127.0.0.1 			# mysql host
  port : 3306 				# mysql port
  name : test				# mysql database name
logfile:
  filename: Logs.sql   		# export SQL to the filename 
export:
  tableName: Logs 			# generate insert to table
  exportSQL: SELECT * FROM Logs  # SELECT statement
  exportOpenPaging: true		 # using paging true/false
  exportPagingStart: 0			 # start page
  exportPagingEnd: 400			 # end page
  exportPagingLimit: 20000 		 # length per page