improve some code
fix a typo for forever loop
add insert and read function
for mysqld said symbol my_copy unknow