Reputation: 20356
Is there any way to change the --default-character-set
to utf8
while connected to MySQL (meaning in the mysql>
shell) for a particular database? I tried something like:
mysql> --default-character-set=utf8 database_name
But that doesn't work.
Any help please
Upvotes: 0
Views: 209
Reputation: 3075
In the /config/database.properties add the characterEncoding:
connectionProperties.characterEncoding=UTF-8
Or in shell this link is very useful.
Upvotes: 1