We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

General Error 1290

Development and Programming

Jav Vilchis's avatar
Jav Vilchis
7 posts
4 years ago
Jav Vilchis's avatar Jav Vilchis

I upgraded my ee v2 to v3 to buy some time for the rebuild to happen for this website. When I updated to this version everything seemed normal until this error message appeared in our VMs:

General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement: DELETE FROM `exp_sessions` WHERE `last_activity ` < 1595353112 mysqli_connection.php:122

can anyone help me solving this issue, please? I have all the tracking sessions turned off and the config file is

$config["disable_all_tracking"] = "y";

this happens when I clear my sessions on logout of my website and it happens intermittently.

I really need your help with this.

thank you

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
4 years ago
Robin Sowell's avatar Robin Sowell

I don’t think I’ve ever seen that error before. I don’t think it’s anything fixable in EE. Drop your host a support email/ticket, let them know that all of a sudden you’re getting that MySQL error and see what needs to be done to resolve it.

The query itself is fine and necessary, there’s something wrong with the db settings.

But reach out to your host, they should be able to fix it.

       
Jav Vilchis's avatar
Jav Vilchis
7 posts
4 years ago
Jav Vilchis's avatar Jav Vilchis

Hi Robin,

My setup is in the microsoft azure setup where we are serving from South Central and North Central Regions. South Central is our Master and North is a replica instance, thus having North not write to the DB. The error message appears only in NC region. I was wondering if there was any way to deactivate that exp_ssessions communication to the db??
thank you

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
4 years ago
Robin Sowell's avatar Robin Sowell

It looks like any delete would fail, correct? If that’s the case, I don’t think it would be workable. Ditto just preventing that query across the board.

But I don’t have a firm grasp on how you’d need to modify ExpressionEngine for this particular setup. It’s got to be workable, though. Does microsoft have any suggestions that might apply?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.