Pb de collation avec Mysql (linux)
Bonjour,
J'ai un projet universitaire a réaliser
Je cherche à extraire le nom du current_user mais j'ai une erreur
Code:
1 2 3 4 5 6 7 8 9
| CREATE OR REPLACE
VIEW
Info_Client
AS SELECT * FROM Clients
WHERE Clients.Nom = (SELECT LEFT (current_user(), LOCATE('@', current_user(), 1) -1)); |
erreur :
Code:
ERROR 1267 (HY000): Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,SYSCONST) for operation '='
Pourtant lors du test en TP sous windows le tout marchait bien