Click here to Skip to main content
15,563,054 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
code: 'ER_NO_SUCH_TABLE',
errno: 1146,
sqlState: '42S02',
sqlMessage: "Table 'project.Settings' doesn't exist",
sql: 'SELECT id, loggingGroupId, logsGroupId, allGroupId, requestsGroupId, payoutsChannelId, requestsEnabled, allLogsEnabled, allHelloMsgEnabled, allGroupLink, payoutsChannelLink, payoutPercent, createdAt, updatedAt FROM Settings AS Settings WHERE Settings.id = 1;'

Please help with that error.

What I have tried:

Nothing, I don't know how to solve this problem
Posted
Updated 29-Aug-22 6:24am
Comments
Richard MacCutchan 29-Aug-22 4:50am    
"sqlMessage: "Table 'project.Settings' doesn't exist","
What part of that message do you not understand?

1 solution

The error message is telling you the database doesn't have a table called "Settings".

How do you fix it? Give the SELECT query FROM clause the correct table name, whatever that is.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900