此问题是基于this thread。在MySQL中运行.sql文件
我运行不成功
sudo mysql
\. /users/cs/SO_db/posts.sql
我得到的错误
ERROR 1146 (42S02): Table 'personal.posts' doesn't exist
A five-character SQLSTATE value ('42S02'). The values are specified by ANSI SQL and ODBC and are more standardized. Not all MySQL error numbers are mapped to SQLSTATE error codes. The value 'HY000' (general error) is used for unmapped errors.
和
Error: 1146 SQLSTATE: 42S02 (ER_NO_SUCH_TABLE)
Message: Table '%s.%s' doesn't exist
如何解决错误信息?
你究竟在做什么? – 2009-07-18 16:36:33
我想把SO的用户数据放在.xml -form中。 – 2009-07-18 19:08:24