mysqldump still fails even with mysqldump --column-statistics=0
And what would be the use of this parameter?:

C:\Program Files\MySQL\MySQL Server 8.0\bin&gt;mysqldump --column-statistics=0 sakila -u root -p &gt;d:\temp\stats.sql
Enter password: ********

C:\Program Files\MySQL\MySQL Server 8.0\bin&gt;mysqldump  sakila -u root -p &gt;d:\temp\no-stats.sql
Enter password: ********

C:\Program Files\MySQL\MySQL Server 8.0\bin&gt;d:

D:\TEMP&gt;dir *stats.sql
 Volume in drive D is HDD
 Volume Serial Number is D46B-804B

 Directory of D:\TEMP

17-11-2019  15:41         3.387.169 no-stats.sql
17-11-2019  15:41         3.387.169 stats.sql
               2 File(s)      6.774.338 bytes
               0 Dir(s)  62.853.836.800 bytes free

D:\TEMP&gt;fc stats.sql no-stats.sql
Comparing files stats.sql and NO-STATS.SQL
***** stats.sql

-- Dump completed on 2019-11-17 15:41:41
***** NO-STATS.SQL

-- Dump completed on 2019-11-17 15:41:58
*****


D:\TEMP&gt;