Magento: SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'DBUSER'#'%' to database 'DBNAME' - sql

I've been banging my head off the wall for hours with this problem. Can anyone help please? I've not been able to find anything online about it.
I've installed the latest version of magento and added a few stores and simple products, and everything seems to be working fine until trying to add associated products to a configurable product. It lets me add the configurable product but then when I try to add associated products to it, it shows this error:
SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'DBUSER'#'%' to database 'DBNAME'
It appears to me to be a privileges issue, but not sure how to resolve it. The site is hosted on heart internet and I can't find how to manage privileges. What's confusing me though is why it's letting me add simple products but not configurable ones.
Any help would be greatly appreciated.
Thanks.
Tom

Goto magento dir /app/etc/ and open local.xml. here
check database username ,database name,database user password

It was a privileges issue.
grant_create_temporary_tables,
grant_create_view,
grant_create_routine,
grant_trigger
sorted the problem.

Related

Laravel | General error: 1 no such table: users

I googled this error and went on many different sites that told different things that would solve it, including adding the refreshdatabase and adding migrations, but I still get the same error. this occurs when I try to register on the test website. I'm very new to using laravel so please explain in laymen terms what I need to do
registering links to a page saying "General error: 1 no such table: users"

VBA MS Graph API call returns error 404 for unknown reason

OK so I have now spent hours trying to figure this out on my own with research but cannot seem to figure out what I'm doing wrong. I have a VBA program to call MS Graph API and find a specific folder id then use that id to create a share link and put it into my Access DB. I have my App-only Auth token working and all my permissions set in Azure AD. I have reviewed every post I could find on the subject and nothing has helped. from what I understand I am following the correct syntax and my folder does exist, but I still get the 404 error. Here is my code.
strPathProj = "https://graph.microsoft.com/v1.0/users/{user-id}/drive/root:/path-to-folder/
Any help will be much appreciated.

Not Allowed Access for all modeul (Document model: ir.filters)

I got an error on my Odoo like on the picture, I've checked the user already has access to the user group. It's very thankful if you can help me.
I need more information but whenever you parform the action you are doing a security record rule is trggered, you can try the hard mode, go to security record rules and disable one rule and try and re enable after.
I add this setting (see on the picture) on the user's group I want to give access and it's solved. Apparently it's because the user does not have access to Object ir.filters which most of my modules use this.

Not able to access data from Rest API-JIRA

I have created a atlassin account for testing the Jira rest api and created a project and tickets under it.
I am able to access the projects but not the issues under it. Please find below for more info
Could someone please help me what permissions I am missing
We can access the issues using URL request for api as below
"https://site.atlassian.net/rest/api/2/search?jql=updated>-90d&startAt="
Not a permission issue, but you missed adding issueIdOrKey path parameter. JIRA attempts to identify the issue by the issueIdOrKey path parameter. This can be an issue id, or an issue key.
To get the issue details, you can use the following Jira Rest endpoint,
GET /rest/api/2/issue/{issueIdOrKey}
For your case it will be,
GET /rest/api/2/issue/BI-1

Magento Rest API Error missing media_gallery

I have completed setting up the Magento Rest API and been able to retrieve a list of product without any errors using the API Example code Magento provides. However when I try to use the create a simple product example provided at http://www.magentocommerce.com/api/rest/introduction.html#RESTAPIIntroduction-Overview
I get the below error.
{"messages":{"error":[{"code":400,"message":"Missing \"media_gallery\" in request."}
I have looked everywhere and can't seem to find out how to fix the error. I don't see any reference here http://www.magentocommerce.com/api/rest/Resources/Products/products.html#RESTAPI-Resource-Products-HTTPMethod-POST-products saying media_gallery is required in the request.
Can anyone shed some light on this error and how to fix it?
I've been looking that up as well, but you can always modify that attribute in magento's administration and just turn it off (catalog/attributes/manage attributes), as in make it NOT required.
Cheers