C:\Documents and Settings\Administrator>mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 20
Server version: 5.0.37 Source distributionType 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> use panda;
Database changed
mysql> show tables;
Empty set (0.00 sec)
-----------------------------------------------------
C:\Documents and Settings\Administrator>mysql -u root panda<e:\workspace\panda\d
b\panda_new.sql;
ERROR 1049 (42000): Unknown database 'panda;'
解决方案 »
- MySQL性能问题,使用固定内存,占用过多CPU
- 有大大知道MySQL SQL语句的解析过程吗
- 怎样统计新增用户,高分求解
- help,有些数据库表突然自动乱码了
- 交流学习,答者有分!
- Mysql哪个版本支持事务
- 【强烈推荐:】100兆jsp/php/cgi+50兆mysql空间=100元/年!!!
- 请问mysql-installer-web-community的mysq和mysql-installer-communityl的版本的区别,谢谢。
- 想问一下sql语句查询中如何多行执行。
- Mysql如何在某个时间段内,统计每一天的访问ip,相同的只被计算一次且根据来访设备分组?
- mysql的varchar做大小判断问题
- 关于postgresql中的锁
然后再试一下
mysql -u root panda < e:\workspace\panda\db\panda_new.sql
最后的分号是不需要的,另外在定向符加上空格试试。如果还有问题,就需要去看panda_new.sql 中的语句了。是不是有drop database.