To post a new support question, click the Post New Topic button below.
Current Version: 4.9.3 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Mysql Error: Needs To Be Fixed Asap

D
64 posts
Mon Jan 03, 22 7:36 PM CST
after uploading a file with passcodes every page within the admin area and any active gallery page is getting the following error

MYSQL ERROR: User 'sytist111621' has exceeded the 'max_questions' resource (current value: 150000)

Query: SELECT * FROM ms_settings

How can this be resolved? and why is this happening
16,250 posts (admin)
Tue Jan 04, 22 5:38 AM CST
It is a database query limit. I have only seen a couple of hosts with a database query limit which is really low because there can be a lot of queries happening.

Ask your host to remove or increase the MySQL max_questions.

If the limit cannot be removed, here is something to try.

Download and edit the sy-config.php file in a text editor like notepad from your Sytist installation folder or open it in the file manager in your hosting control panel.

In your hosting control panel go into the MySQL section and create 3 new MySQL users (or more) and give them the same password as the existing user. You can see that password in the sy-config.php file ($setup['pc_db_user']).

Assign those users to your Sytist database.

At the bottom of the sy-config.php file before the closing PHP tag ?> ... add these lines and enter in the existing database user and the 2 new ones.

$db_user_array[] = "user_name1"; //enter 1st user name
$db_user_array[] = "user_name2"; //enter 2nd user name
$db_user_array[] = "user_name3"; //enter 3rd user name

Save and re-upload.

Doing this will select a random database user each connection and may help with how many questions per database user.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
D
64 posts
Tue Jan 04, 22 10:22 AM CST
Tim, thanks for the quick reply. I did contact my host and we have it resolved. I will be sure to ask them to remove or increase the MySQL max_questions.

thanks again
3 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 473 times
Category: Error
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close