我安装了mysql-server-5.0.22-0.i386.rpm,
启动都正常了
但是我用
shell>mysql -u root -p
输入完密码登陆时,会提示
[root@localhost local]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 5.0.22-standard-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
段错误
然后就跳出来了
解决方案:
#export LANG=en_US
[root@localhost local]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 5.0.22-standard-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
搞定!!!
转载于:https://blog.51cto.com/bjiokn/620474