Jump to content

Recommended Posts

Unable to complete incremental updates: Unable to import the 8.0.0 Alpha1 database file. Unable to import /home/******/public_html/resources/sql/upgrade800alpha1.sql: SQLSTATE[42000]: Syntax error or access violation: 1142 INDEX command denied to user '******'@'localhost' for table 'tblactivitylog'

WHMCS-Install-Upgrade-Process.thumb.png.2880decd8989f502476abba0e6f5df87.png

Share this post


Link to post
Share on other sites

I would think that the db user doesn't have sufficient privileges to perform the desired task, e.g it needs to be able to use INDEX.

https://docs.whmcs.com/Further_Security_Steps#Restrict_Database_Privileges

Quote

Most tasks only require the following database privileges:

  • DELETE
  • INSERT
  • SELECT
  • UPDATE
  • LOCK TABLES

Installation, upgrades, and activating and deactivating modules require the following additional privileges:

  • ALTER
  • CREATE
  • DROP
  • INDEX

Share this post


Link to post
Share on other sites
6 hours ago, ahwaznoname said:

can you please explain more ?

 

 

Check that your database user has the required permissions.

Share this post


Link to post
Share on other sites
On 2/25/2023 at 6:32 AM, ahwaznoname said:

how we can solve this problem ?

can you help me please

This thread is over 2 years old now. You need to start your own, as this is not likely the same issue.

Hijacking threads, not cool.

Share this post


Link to post
Share on other sites
12 hours ago, twhiting9275 said:

Hijacking threads, not cool.

It's not a hijack if it's the same issue. Many "support" channels have something like "I have this problem too", so it's understandable. 
As for starting his own, I've seen threads ignored here (lack of interest, lack of user participation?), so he may have thought he stood a better chance adding his to a similar/same thread and not get yelled at by the "community police" that there were already threads about this...only to be yelled at for not starting one. Irony. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated