vi data.sql
:
-- MariaDB dump 10.19 Distrib 10.4.28-MariaDB, for Win64 (AMD64)
But when I do head -n 10 data.sql
I get the first line as
��-- MariaDB dump 10.19 Distrib 10.4.28-MariaDB, for Win64 (AMD64)
As a result of which I get this while importing :
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '??-' at line 1
So how do I rectify this ?