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

Setup upgrade throws error #4924

Closed
Nehace40 opened this issue Jun 8, 2016 · 1 comment
Closed

Setup upgrade throws error #4924

Nehace40 opened this issue Jun 8, 2016 · 1 comment

Comments

@Nehace40
Copy link

Nehace40 commented Jun 8, 2016

When i upgrade setup script than it will throw this error

[Magento\Setup\Exception]
Database user does not have enough privileges. Please make sure SELECT, INS
ERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORA
RY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, AL
TER ROUTINE, EVENT, TRIGGER privileges are granted to table 'qsvmtwoc_magen
to2'.

I am giving full access to user

i am run this command

SHOW GRANTS;

OUTPUT:

+-------------------------------------------------------------------------+
| Grants for qsvmtwoc_nb@% |
+-------------------------------------------------------------------------+
| GRANT USAGE ON . TO 'qsvmtwoc_nb'@'%' IDENTIFIED BY PASSWORD |
| GRANT ALL PRIVILEGES ON qsvmtwoc\_magento2.* TO 'qsvmtwoc_nb'@'%' |
+-------------------------------------------------------------------------+

How to solve this problem?

@mazhalai can you look at this?

@Nehace40
Copy link
Author

Nehace40 commented Jun 8, 2016

I changed 'localhost' to '127.0.0.1' in app/etc/env.php And its worked

@Nehace40 Nehace40 closed this as completed Jun 8, 2016
paliarush pushed a commit that referenced this issue Dec 11, 2019
[arcticfoxes] MC-13777: [Backport for 2.3.x] [PSIRT-9529] XPAth Injection vulnerability on front end of site
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