I create database like always:
CREATE DATABASE my_db CHARACTER SET utf8 COLLATE utf8_general_ci;
I have dumped states.sql which looks fine but when I dump them to database I see strange symbols and letters where POLISH chart should be.
When I try add from some answers:
default-character-set=utf8
character-set-server=utf8
default-collation=utf8_unicode_ci
to my.cf - mysql doesn't want to restart.
I can also say that when I do in phpmyadmin for example:
SELECT * FROM 'states' WHERE name = 'gorzów'
I got error from mysql syntax with non utf-8 symbols.
Where can be problem?