[root@3mao /]# select user,host,password from mysql.user
bash: syntax error near unexpected token `from'
[root@3mao /]# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.61 Source distributionCopyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trade of Oracle Corporation and/or its
affiliates. Other names may be trades of their respective
owners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> select user,host,password from mysql.user
->
想列表用户信息,都不行
bash: syntax error near unexpected token `from'
[root@3mao /]# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.61 Source distributionCopyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trade of Oracle Corporation and/or its
affiliates. Other names may be trades of their respective
owners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> select user,host,password from mysql.user
->
想列表用户信息,都不行
解决方案 »
- 求SQL语句
- 新手求值,如何实现以下简单的查找功能?
- 刚下了一个mysql 5.0 安装完成后,用 mysql-front 无法登录?
- 如何用sql语句替换字段内容里的换换行
- 为何用fulltext搜索的结果为空?
- linux下PHP函数mysql_connect()是否与windows下不同?
- 怎样检查我建立的表,已新建成功????
- mysql问题,我的数据库和表都统一了utf8_general_ci,为什么还报这个错
- 大家好,存储过程建好了插不进数据是什么操作
- mysql 新增生成回滚语句的问题
- 这个mysql存储过程哪里有错,高手指教
- MySQL prepare语句execute后结果的判断。
打个分号然后再回车。