登录mysql的时候提示段错误 直接退出客户端
root@DevOps:/data/app/mysql/share# mysql -h127.0.0.1 -P3307 -u root
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 912034
Server version: 5.6.10 MySQL Community Server(GPL)
...
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show tables;
段错误
root@DevOps:/data/app/mysql/share#
解决办法:
命令行执行export LANG=en_US.UTF-8
再次登录 问题解决