此問題是基於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