Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行后website表报错 #1

Open
ChenZhannnnn opened this issue Mar 20, 2023 · 0 comments
Open

运行后website表报错 #1

ChenZhannnnn opened this issue Mar 20, 2023 · 0 comments

Comments

@ChenZhannnnn
Copy link

在ubuntu上部署后,出现了下列报错:

Traceback (most recent call last):
  File "main.py", line 79, in <module>
    ids().run()
  File "main.py", line 26, in run
    self.initial()
  File "main.py", line 21, in initial
    self.delete_database()
  File "main.py", line 46, in delete_database
    cursor.execute(sql)
  File "/home/cz/.conda/envs/czpython3/lib/python3.7/site-packages/pymysql/cursors.py", line 148, in execute
    result = self._query(query)
  File "/home/cz/.conda/envs/czpython3/lib/python3.7/site-packages/pymysql/cursors.py", line 310, in _query
    conn.query(q)
  File "/home/cz/.conda/envs/czpython3/lib/python3.7/site-packages/pymysql/connections.py", line 548, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  File "/home/cz/.conda/envs/czpython3/lib/python3.7/site-packages/pymysql/connections.py", line 775, in _read_query_result
    result.read()
  File "/home/cz/.conda/envs/czpython3/lib/python3.7/site-packages/pymysql/connections.py", line 1156, in read
    first_packet = self.connection._read_packet()
  File "/home/cz/.conda/envs/czpython3/lib/python3.7/site-packages/pymysql/connections.py", line 725, in _read_packet
    packet.raise_for_error()
  File "/home/cz/.conda/envs/czpython3/lib/python3.7/site-packages/pymysql/protocol.py", line 221, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/cz/.conda/envs/czpython3/lib/python3.7/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.ProgrammingError: (1146, "Table 'ids.website' doesn't exist")

想问一下博主,website表的结构是怎么样的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant