Linked Questions

2 votes
1 answer
411 views

I'm new to spring, and I'm trying to print a list. When the page loads, the text doesn't display correctly. When I replace the return string from the jsp view name with one of the entries and adding ...
OBY Trance's user avatar
0 votes
0 answers
155 views

Update: SOLVED I just inserted charset=utfmb4 in my connection string and it worked. $pdo = new PDO("mysql:host=localhost;dbname=db_name;charset=utf8mb4", "db_user", "db_pass&...
Yasir Khan's user avatar
0 votes
2 answers
129 views

I have a form from which i am taking user details.I am seeing that when the user enters character like ' there is an entry in the table but the character is entered as ? in the DB. For Example : If a ...
Uday Khatry's user avatar
1358 votes
9 answers
678k views

Between utf8_general_ci and utf8_unicode_ci, are there any differences in terms of performance?
KahWee Teng's user avatar
  • 14.2k
550 votes
20 answers
671k views

How can I convert entire MySQL database character-set to UTF-8 and collation to UTF-8?
Dean's user avatar
  • 8,125
306 votes
22 answers
364k views

I tried to import a large sql file through phpMyAdmin...But it kept showing error 'MySql server has gone away' What to do?
FrancisMV123's user avatar
  • 3,469
133 votes
15 answers
321k views

One of the responses to a question I asked yesterday suggested that I should make sure my database can handle UTF-8 characters correctly. How I can do this with MySQL?
Ben's user avatar
  • 68.9k
81 votes
13 answers
194k views

I'm trying to connect to a MySQL database from Symfony 3 application. But when trying to create MySQL schema from a Symfony console command I get this error: PDO::__construct(): Server sent charset (...
Napas's user avatar
  • 2,831
36 votes
2 answers
91k views

I've googled a lot about this problem. To sum up, this is what my my.ini looks like: sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES [client] database = abcdef user = root password = XXXXXX ...
Judking's user avatar
  • 6,411
16 votes
3 answers
36k views

I want to create a new db in mysql. I set utf8 as the default-character-set, but when I attempted to restart the db, mysql failed to restart and posted the following prompt: Trying to start the ...
kaiwii ho's user avatar
  • 1,427
25 votes
1 answer
31k views

I discovered (the hard way) that MySQL's UTF8 character set is only 3 bytes. A bit of research shows I can fix this by changing the tables to utilize the utf8mb4 collation and get the full 4 bytes UTF ...
Andy's user avatar
  • 50.8k
22 votes
7 answers
22k views

THE SITUATION: Sorry in advance if this question has already been asked, but the solutions aren't working for me. No matter what I try, I cannot store emoji in my database. They are saved as ????. ...
FrancescoMussi's user avatar
6 votes
3 answers
8k views

I've made a simple PHP page to get the POST data and fetch a sql query then print the result. I'm using the mysql_fetch_array function. The code works great but the response is a non-Unicode text, ...
user avatar
14 votes
1 answer
62k views

We ran an alter table today today that took down the DB. We failed over to the slave, and in the post-mortem, we discovered this in the mysql error.log InnoDB: ERROR: the age of the last checkpoint ...
timsabat's user avatar
  • 2,298
16 votes
3 answers
1k views

I'd like every table and database (to be created) to be utf-8 that works with emojis. I understand that there are a few variables I need to define inside my.cnf: init_connect='SET ...
TIMEX's user avatar
  • 275k

15 30 50 per page
1
2 3 4 5