mysql>
mysql> select convert(SUBSTR(USER(),1,INSTR(USER(),'@')-1) using latin1) ;
+------------------------------------------------------------+
| convert(SUBSTR(USER(),1,INSTR(USER(),'@')-1) using latin1) |
+------------------------------------------------------------+
| root |
+------------------------------------------------------------+
1 row in set (0.09 sec)
mysql>
|