You have an error in eithor your data.txt or the update code you are using. It throws an error: "Error: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect integer value: 'Rishan' for column 'lastname' at row 1"
You can't define a colum as 'int' and then expect to insert text into it.
Also, you define several rows as 'int(255)' why? Do you realize that that says you want to store 255 digits?
INT(size) -2147483648 to 2147483647 normal. 0 to 4294967295 UNSIGNED*. The maximum number of digits may be specified in parenthesis
so the maximum size in parenthesis can only be 10.