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

MySQL syntax error #14

Open
largbungus opened this issue Aug 22, 2022 · 1 comment
Open

MySQL syntax error #14

largbungus opened this issue Aug 22, 2022 · 1 comment

Comments

@largbungus
Copy link

Hi, I am currently trying to set up a LAN server using a VM
I am using ubuntu 20.04.04 and managed to get the cowfc admin site working however, my inputted user doesnt seem to be valid as it keeps saying that username was not found.
additionally I have been attempting to use the add-acct.sh found in in the CoWFC folder however it seems to throw a syntax error
image
as seen here
do you know a solution?

@madisive
Copy link

madisive commented Jan 6, 2024

#16

For this add-acct.sh issue, you might need to remove the 'Rank' field from the INSERT query in the code, as 'Rank' became a MySQL keyword in version 8.0 but executed fine in the past (possibly on old SQlite version). 'Rank' column name wasn't really thought through by me back then, and the feature was never finished anyway, so there's no harm in removing it.

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

2 participants