이 질문은 this thread을 기반으로합니다.MySQL에서 .sql-file을 실행하려면
나는
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
어떻게 오류 메시지를 해결할 수 있습니까?
정확히 무엇을하려고합니까? –
저는 SO 사용자 데이터를 .xml -form 형식으로 MySQL에 저장하려고합니다. –