I installed XAMPP in my laptop when i tried to open phpmyadmin it gives me the error as follows
Error
MySQL said: Documentation
1273 - Unknown collation: 'utf8mb4_general_ci'
Any suggestion why this error occurs?
I installed XAMPP in my laptop when i tried to open phpmyadmin it gives me the error as follows
Error
MySQL said: Documentation
Any suggestion why this error occurs?
First Clear cookie
If error persists, try
Editing phpMyAdmin/libraries/DatabaseInterface.class.php
Change
if (PMA_MYSQL_INT_VERSION > 50503) {
$default_charset = 'utf8mb4';
$default_collation = 'utf8mb4_general_ci';
} else {
$default_charset = 'utf8';
$default_collation = 'utf8_general_ci';
}
To
//if (PMA_MYSQL_INT_VERSION > 50503) {
// $default_charset = 'utf8mb4';
// $default_collation = 'utf8mb4_general_ci';
//} else {
$default_charset = 'utf8';
$default_collation = 'utf8_general_ci';
//}
Then restart Mysql.