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

SQL error on query All part #14

Open
ghamdikar opened this issue Mar 24, 2017 · 6 comments
Open

SQL error on query All part #14

ghamdikar opened this issue Mar 24, 2017 · 6 comments

Comments

@ghamdikar
Copy link

hello there,
I got this error every time

SQL error on query All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead

@sumitwebkul
Copy link
Contributor

Hello,
It seems this issue is related to MySQL version you are using on your server. We recommend you to install version like MySQL 5.5 on your server and try to install the QloApps again. If you will still face issues then please raise a ticket at https://webkul.uvdesk.com/. We will resolve your issue there.
Thanks

@abispo
Copy link

abispo commented Jun 12, 2017

This problem occurs in MySQL 5.7 too.

@sumitwebkul
Copy link
Contributor

Hello,
Yes it the issue in MySQL 5.7 . So we recommend you to install MySql version like MySQL 5.5 or 5.6 on your server and try to install the QloApps again.
If you will still face issues then please raise a ticket at https://webkul.uvdesk.com/. We will resolve your issue there.
Thanks

@happiguru
Copy link

Sir, downgrade is not possible since i am using a shared server.
My service provider said they cannot downgrade from MYSQL 5.7 to 5.5 or 5.6 because i am on a shared server.
Is there any other solution we can make on the sql file?

@happiguru
Copy link

Thanks for your assistance, it was helpful though it did not solve my problem.

My problem here is that, my host service provider refused to downgrade from MYSQL 5.7 to 5.5 reason being that, i am using using a shared hosting server.

Is there any means or any change we can make on the software or database file so that it can be compartible with MYSQL 5.7?

Thanks in advance.

@sumitwebkul
Copy link
Contributor

We request you to please extract the attached zip and replace the file (db_structure.sql) with the file at below path -
hotelcommerce/install/data/db_structure.sql
After replacing the file try to install QloApps Again.
qlo_db_sql.zip

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

4 participants