Problem when upgrading mysql to 5.7.24 XAMPP

I'm working on a system with php and mysql and I have to add a field.

Download the zip file of mysql 5.7.24 and unzip, copy the files to a new folder inside xampp and copy the data folder with the files.

Copy the file my.ini and modify it according to what I found on the Internet.
This is my my.ini file

# Example of MySQL configuration file for small systems.
#
# This is for a system with low memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld demon
# does not use many resources.
#
# You can copy this file to
# C: /xampp/mysql/bin/my.cnf to configure the global options,
# mysql-data-dir / my.cnf to configure the server-specific options (in this
# installation this directory is C: / xampp / mysql / data) or
# ~ / .my.cnf to configure the user-specific options.
#
# In this file, you can use all the long options that a program supports.
# If you want to know what options a program supports, run the program
# with the "--help" option.

# The following options will be passed to all MySQL clients
[client] 
# password = your_control
port = 3306
socket = "C: /xampp/mysql/mysql.sock"


# Here follow the entries for some specific programs.

# The MySQL server
[mysqld]
port = 3306
socket = "C: /xampp/mysql/mysql.sock"
basedir = "C: / xampp / mysql"
tmpdir = "C: / xampp / tmp"
datadir = "C: / xampp / mysql / data"
pid_file = "mysql.pid"
# enable-named-pipe
key_buffer = 16M
max_allowed_packet = 1M
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
log_error = "mysql_error.log"

# Change here to listen attached
# bind-address = "127.0.0.1"
# bind-address = :: 1 # for ipv6

# Where all the plugins live
plugin_dir = "C: / xampp / mysql / lib / plugin /"

# Do not listen on a TCP / IP port at all. This can be a security improvement,
# if all processes that need to connect to mysqld are running on the same host.
# All interaction with mysqld must be done through Unix sockets or pipes with name.
# Note that when using this option without enabling named pipes in Windows
# (through the "enable-named-pipe" option) will make mysqld useless!
#
# commented on lampp security
# skip-networking
# skip-federated

# Replication master server (default)
# Binary registration is required for replication
# log-bin disabled by default from XAMPP 1.4.11
# log-bin = mysql-bin

# unique identification is required between 1 and 2 ^ 32 - 1
# default is 1 if master-host is not configured
# but will not work as a master if omitted
Server ID = 1

# Replication slave (comment on the master section to use this)
#
# To configure this host as a replication slave, you can choose between
# two methods:
#
# 1) Use the CHANGE MASTER A command (described fully in our manual) -
# the syntax is:
#
# CHANGE MASTER TO MASTER_HOST =, MASTER_PORT =,
# MASTER_USER =, MASTER_PASSWORD = ;
#
# where you replace , ,  by cited chains and
#     by the master port number (3306 by default).
#
# Example:
#
# CHANGE MASTER TO MASTER_HOST = & # 39; 125.564.12.1 & # 39 ;, MASTER_PORT = 3306,
# MASTER_USER = & # 39; joe & # 39 ;, MASTER_PASSWORD = & # 39; secret & # 39 ;;
#
# O
#
# 2) Set the variables below. However, in case you choose this method, then
# start replication for the first time (even without success, for example,
# if you typed the password incorrectly in the master password and the slave can not
# connect), the slave will create a master.info file, and later
# the change in this file to the values ​​of the variables below will be ignored and
# replaced by the content of the master.info file, unless close
# the slave server, delete master.info and restart the slave server.
# For that reason, you may want to leave the lines below without touching
# (commented) and use CHANGE MASTER TO instead (see above)
#
# unique identification is required between 2 and 2 ^ 32 - 1
# (and different from the teacher)
# default is 2 if master-host is configured
# but will not work as a slave if omitted
# server-id = 2
#
# The replication master for this slave - required
# master-host =   
#
# The username that the slave will use for authentication when connecting
# to the teacher - required
# master-user =   
#
# The password with which the slave will authenticate when it connects
# the teacher - required
# master password =   
#
# The port the teacher is listening to.
# optional - default to 3306
# port-master =  
#
# binary record - not required for slaves, but recommended
# log-bin = mysql-bin


# Point out the following routes to different dedicated discs
#tmpdir = "C: / xampp / tmp"
# log-update = / path-to-dedicated-directory / hostname

# Uncomment the following if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000

# Comment the following if you are using InnoDB tables
# skip-innodb
innodb_data_home_dir = "C: / xampp / mysql / data"
innodb_data_file_path = ibdata1: 10M: autoextend
innodb_log_group_home_dir = "C: / xampp / mysql / data"
#innodb_log_arch_dir = "C: / xampp / mysql / data"
## You can configure .._ buffer_pool_size up to 50 - 80%
## of RAM, but be careful to set the memory usage too high
innodb_buffer_pool_size = 16M
## Set .._ log_file_size to 25% of the size of the buffer group
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50

## Configuring UTF 8
# init-connect =  & # 39; SET NAMES utf8  & # 39;
# collation_server = utf8_unicode_ci
# character_set_server = utf8
# skip-character-set-client-handshake
# character_sets-dir = "C: / xampp / mysql / share / charsets"

[mysqldump]
Quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
# secure updates

[isamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive timeout

The error that appears to me now is the following
enter the description of the image here

already search the internet download the blessed MSVCR120.dll System backup system 32, restart my pc also the xampp but the problem still persists. Check the errors and this appears:

2019-01-19 10:24:39 8968 [Note] InnoDB: use of mutual exclusion to ref count the pages of the buffers group
2019-01-19 10:24:39 8968 [Note] InnoDB: the InnoDB memory heap is disabled
2019-01-19 10:24:39 8968 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-01-19 10:24:39 8968 [Note] InnoDB: _mm_lfence () and _mm_sfence () are used for the memory barrier
2019-01-19 10:24:39 8968 [Note] InnoDB: compressed tables use zlib 1.2.3
2019-01-19 10:24:39 8968 [Note] InnoDB: Using generic crc32 instructions
2019-01-19 10:24:39 8968 [Note] InnoDB: Initializing the buffer group, size = 16.0M
2019-01-19 10:24:39 8968 [Note] InnoDB: Complete initialization of the buffers group
2019-01-19 10:24:39 8968 [Note] InnoDB: The highest supported file format is Barracuda.
2019-01-19 10:24:39 8968 [Note] InnoDB: The registration sequence number 1835037 in the ibdata file does not match the registration sequence number 9432244 in the ib_log files!
2019-01-19 10:24:40 8968 [Note] InnoDB: Restoring possible data pages half-written from the double-write buffer ...
2019-01-19 10:24:42 8968 [Note] InnoDB: 128 retrace segment (s) are active.
2019-01-19 10:24:42 8968 [Note] InnoDB: Waiting for the purge to start
2019-01-19 10:24:42 8968 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.39-83.1 started; registration sequence number 9432244
2019-01-19 10:24:43 8968 [Note] The plugin & # 39; FEEDBACK & # 39; is disabled
2019-01-19 10:24:43 6604 [Note] InnoDB: dump buffer pools have not yet been started
2019-01-19 10:24:43 8968 [Note] Server socket created in IP: & # 39; :: & # 39 ;.
2019-01-19 10:24:44 8968 [Note] c:  xampp  mysql  bin  mysqld.exe: ready for connections.
Version: & # 39; 10 .1.34-MariaDB & # 39; socket: & # 39; & # 39; port: 3306 mariadb.org binary distribution
2019-01-19 12:58:55 7036 [ERROR] Incorrect definition of the mysql.column_stats table: the expected column & # 39; min_value & # 39; in position 3 it has the varbinary type (255), the type found varchar (255).
2019-01-19 12:58:55 7036 [ERROR] Incorrect definition of the mysql.column_stats table: the expected column & # 39; max_value & # 39; in position 4 it has the type varbinary (255), the type found varchar (255).

Ah, look on the Internet for some solution to this and find that you should delete the following line in my.ini

innodb_additional_mem_pool_size = 2M

But even so the problem continues, I need to solve it, I do not want to have to install wampserver