Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
--default-character-set=utf8
did it.
mysql -u root -p --default-character-set=utf8 dtbs < 1.sql
Try running the command chcp 850 in cmd before you run your code.
chcp 850
cmd
That will make the 1.sql file load with correct encoding.
1.sql