首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

请问一条语句

2012-02-24 
请教一条语句mysql --usertest --password1234 -h 10.192.136.102 -D internaltest0 -s -e call pdm_al

请教一条语句
mysql --user=test --password=1234 -h 10.192.136.102 -D internaltest0 -s -e 'call pdm_all_end()'

现在报错如下:
ERROR 1049 (42000): Unknown database 'pdm_all_end()''

test用户权限如下:
GRANT ALL PRIVILEGES ON *.* TO 'test'@'%' IDENTIFIED BY PASSWORD '64ea46ab1b0ed542' WITH GRANT OPTION

我不是已经指定了database么,为什么说找不倒databas,请指教,谢谢。

[解决办法]
mysql -test -p1234 -h 10.192.136.102 internaltest0 -s -e "call pdm_all_end();"
[解决办法]
参数用错了。

可以参考一下手册中的语法说明。
MySQL官方文档 http://dev.mysql.com/doc/refman/5.1/zh/index.html

热点排行