diff --git a/htdocs/admin/system/database.php b/htdocs/admin/system/database.php
index ed039b164b7..2d20ee0fff0 100644
--- a/htdocs/admin/system/database.php
+++ b/htdocs/admin/system/database.php
@@ -94,7 +94,7 @@ print '
| '.$langs->trans("Password").' | | '.$langs->trans("DBStoringCharset").' | '.$db->getDefaultCharacterSetDatabase();
if ($db->type == 'mysqli') {
$tooltipexample = " SHOW VARIABLES LIKE 'character_set_database' (cached) You can avoid cache effect with: SELECT DEFAULT_CHARACTER_SET_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = '".$db->escape($conf->db->name)."'";
- print ' '.$form->textwithpicto('', $langs->transnoentitiesnoconv("HelpMariaDBToGetValue", $tooltipexample.' '.$langs->transnoentitiesnoconv("HelpMariaDBToGetPossibleValues", " SHOW CHARSET")));
+ print ' '.$form->textwithpicto('', $langs->transnoentitiesnoconv("HelpMariaDBToGetValue", $tooltipexample.' '.$langs->transnoentitiesnoconv("HelpMariaDBToGetPossibleValues", " SHOW CHARSET")."
Example to change value: ALTER DATABASE ".$conf->db->name." CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;"));
// We can use $db->getDefaultCharacterSetDatabase(), $db->getListOfCharacterSet(),
}
print ' |
'."\n";
@@ -107,7 +107,7 @@ if ($db->type == 'mysqli') {
print img_warning('The database default value of collation '.$defaultcollation.' differs from conf setup '.$conf->db->dolibarr_main_db_collation);
}
$tooltipexample = "
SHOW VARIABLES LIKE 'collation_database' (cached)
You can avoid cache effect with:
SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = '".$db->escape($conf->db->name)."'";
- print ' '.$form->textwithpicto('', $langs->transnoentitiesnoconv("HelpMariaDBToGetValue", $tooltipexample.'
'.$langs->transnoentitiesnoconv("HelpMariaDBToGetPossibleValues", "
SHOW COLLATION")));
+ print ' '.$form->textwithpicto('', $langs->transnoentitiesnoconv("HelpMariaDBToGetValue", $tooltipexample.'
'.$langs->transnoentitiesnoconv("HelpMariaDBToGetPossibleValues", "
SHOW COLLATION")."
Example to change value: ALTER DATABASE ".$conf->db->name." CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;"));
// We can use $db->getDefaultCollationDatabase(), $db->getListOfCollation();
print ' '.$langs->trans("ConvertInto");