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

Problem with DB (DB Error # 1054) #13

Open
mauricio-ibarra opened this issue Sep 17, 2021 · 1 comment
Open

Problem with DB (DB Error # 1054) #13

mauricio-ibarra opened this issue Sep 17, 2021 · 1 comment

Comments

@mauricio-ibarra
Copy link

An error is generated when querying. Use your docker-compose.yml without any modification in a sandbox. When a user query is made the error is generated.
Thank you very much for your work, happy to help you.
Greetings
Captura de pantalla de 2021-09-16 22-28-26
Captura de pantalla de 2021-09-16 22-31-56

.

@llewellynhughes
Copy link

Hi,

Looks like the phone column is missing in the ost_user__cdata table.

I resolved this by using portainer, and open the bash shell from the ostickets_db docker.

I ran:-
mysql -u osticket -p
change the user to whatever user you set up for osticket mysql and put in the password when it prompts.

then i ran:-
use osticket;
change this to what database name you set up.

then i ran:-
select * from ost_user__cdata;
which shows the phone column missing.

lastly i ran:-
alter table ost_user__cdata add phone varchar(15) after email;
I'm not sure if varchar(15) is the right field type or length, but it's still in dev at mo.

I wouldn't recommend running this on production, but this fixed it for me.

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