cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Getting Started

Error SQL, three website down, migrated to cpanel from managed wordpress

for two days we have had frequent problems with our three websites, all resident in our maximum cpanel, an sql communication error occurs which crashes the service and the sites are inaccessible.

From the error log there is this:

 

WordPress database error Lost connection to MySQL server during query for query SELECT option_value FROM wp_tyxwzr63fz_options WHERE option_name = 'gd_system_multi_domain' LIMIT 1 made by require ('wp-blog-header.php'), require_once ('wp-load.php'), require_once ('wp-config.php'), require_once ('wp-settings.php'), include_once ('/ mu-plugins / gd-system-plugin.php'), WPaaS \ plugin, WPaaS \ Plugin :: load , WPaaS \ Plugin -> __ construct, WPaaS \ Change_Domain -> __ construct, WPaaS \ Plugin :: is_multi_domain_mode, get_option

 

and then i see 

 

PHP Warning:  mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket

furthermore I also find this error

 

PHP Notice: Undefined index: 210.212.250.45 in /home/tzj4vgzyduk4/public_html/wp-content/mu-plugins/gd-system-plugin/plugins/limit-login-attempts-reloaded/core/LimitLoginAttempts.php on line 350

 

godaddy indicates that the problem is the contents, while in my opinion something is wrong with the old plug-ins imported from managed wordpress.

 

someone can help me? 

 

Alvise

7 REPLIES 7
Super User IV

@Elvis175 

 

The Managed WordPress(MWP) platform has some additional scripts / files which are not needed / will not work outside of the MWP platform - I suggest editing your wp-config.php and removing the require gd-config.php line and you should be good to go

I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

could this be the problem? deleting the line would disable the old managed wordpress plug-ins?

 

i try 

@Elvis175 

 

Looks like this posted before you completed it - please feel free to post a screen capture if you'd like

I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

@PL281 ok, what screen would you need? now I am removing the line you pointed out to me

same problems.

 

three website are down again. In the error log i see this

 

[12-Sep-2020 08:11:52 UTC] WordPress errore sul database Lost connection to MySQL server during query per la query SELECT post_id, meta_key, meta_value FROM wp_tyxwzr63fz_postmeta WHERE post_id IN (6568,6566,6564,6563,6562,6561,6560,6559,6558,6557,6556,6554,6553,6552,6551,6549,6548,6547,6546,6545,6544,6543,6542,6541,6540,6539,6538,6537,6536,6535,6534,6533,6532,6531,6530,6529,6528,6527,6526,6525,6523,6520,6513,6512,6509,6508,6507,6506,6505,6504,6503,6502,6501,6500,6499,6498,6497,6496,6495,6494,6493,6492,6491,6489,6488,6487,6486,6485,6484,6483,6482,6481,6480,6479,6477,6476,6475,6474,6472,6471,6470,6469,6468,6467,6466,6465,6464,6463,6462,6461,6460,6459,6458,6457,6456,6455,6454,6453,6452,6451,6450,6449,6448,6445,6444,6443,6440,6439,6438,6437,6436,6435,6434,6433,6432,6431,6430,6429,6428,6427,6417,6415,6412,6407,6406,6405,6404,6403,6402,6401,6400,6399,6398,6397,6396,6395,6392,6391,6389,6388,6387,6385,6380,6377,6376,6375,6373,6371,6370,6369,6368,6351,6350,6342,6341,6335,6334,6302,6300,6298,6297,6295,6286,6285,6284,6283,6281,6280,6278,6277,6276,6275,6271,6270,6269,6267,6264,6261,6260,6259,6258,6257,6256,6255,6254,6253,6252,6251,6250,6249,6248,6247,6246,6245,6244,6242,6240,6239,6238,6237,6236,6235,6234,6232,6230,6229,6225,6213,6212,6211,6209,6200,6199,6197,6196,6195,6194,6193,6192,6191,6190,6189,6188,6187,6186,6185,6184,6183,6182,6181,6179,6178,6177,6176,6175,6174,6171,6170,6169,6168,6167,6163,6162,6160,6157,6153,6115,6114,6113,6112,6111,6110,6109,6108,6107,6103,6102,6101,6096,6094,6092,6091,6090,6089,6088,6087,6086,6085,6084,6083,6079,6078,6077,6075,6074,6073,6072,6071,6070,6069,6068,6066,6064,6063,6051,6050,6049,6048,6047,6046,6045,6044,6042,6041,6040,6039,6038,6037,6036,6035,6033,6031,6030,6003,5993,5991,5990,5989,5986,5981,5980,5979,5937,5936,5935,5934,5931,5930,5929,5928,5927,5926,5925,5924,5923,5922,5921,5919,5918,5916,5915,5914,5913,5912,5911,5908,5907,5905,5904,5859,5858,5857,5856,5855,5854,5853,5851,5850,5849,5848,5847,5846,5845,5844,5842,5841,5761,5760,5759,5758,5757,5756,5755,5754,5753,5752,5751,5750,5745,5744,5743,5742,5741,5740,5735,5734,5733,5732,5731,5730,5729,5728,5727,5726,5725,5724,5722,5718,5717,5716,5715,5714,5713,5712,5711,5710,5709,5708,5707,5706,5705,5704,5703,5702,5701,5700,5699,5698,5697,5696,5695,5694,5693,5692,5691,5690,5689,5687,5686,5685,5684,5683,5667,5666,5665,5664,5663,5662,5661,5660,5659,5657,5656,5654,5647,5645,5644,5643,5642,5641,5640,5639,5638,5637,5636,5635,5634,5633,5631,5630,5629,5628,5627,5626,5625,5624,5623,5622,5621,5620,5618,5617,5616,5615,5614,5613,5607,5606,5605,5604,5603,5601,5600,5599,5598,5473,5472,5471,5470,5469,5468,5467,5466,5465,5389,5388,5387,5386,5385,5383,5382,5381,5380,5379,5316,5315,5314,5313,5309,5303,5302,5301,5299,5298,5297,5227,5226,5225,5224,5223,5222,5221,5220,5219,5218,5217,5216,5215,5205,5204,5193,5192,5191,5190,5189,5188,5118,5117,5116,5115,5114,4984,4983,4982,4981,4979,4978,4977,4976,4975,4974,4973,4972,4971,4970,4969,4968,4967,4966,4965,4964,4963,4962,4961,4960,4959,4958,4957,4956,4955,4954,4953,4949,4947,4945,4944,4943,4942,4941,4940,4939,4938,4937,4936,4935,4933,4932,4931,4930,4929,4928,4927,4926,4925,4924,4921,4919,4916,4914,4912,4911,4910,4909,4908,4906,4904,4903,4902,4901,4900,4899,4898,4896,4895,4894,4893,4892,4890,4889,4888,4887,4885,4884,4881,4880,4879,4878,4877,4876,4875,4874,4873,4872,4870,4869,4867,4866,4865,4863,4861,4859,4858,4857,4855,4854,4851,4850,4849,4847,4846,4844,4843,4842,4841,4840,4839,4836,4835,4834,4833,4832,4831,4830,4827,4826,4822,4821,4820,4819,4818,4816,4815,4813,4812,4811,4808,4805,4804,4802,4796,4795,4794,4793,4791,4790,4789,4788,4787,4785,4783,4781,4780,4779,4778,4777,4776,4775,4774,4773,4772,4771,4770,4769,4768,4767,4766,4765,4764,4762,4760,4758,4757,4755,4754,4753,4752,4750,4749,4748,4747,4746,4745,4741,4740,4739,4738,4736,4735,4732,4731,4730,4729,4728,4727,4725,4722,4721,4720,4719,4718,4717,4716,4714,4713,4712,4711,4710,4709,4708,4706,4705,4704,4703,4702,4701,4700,4699,4698,4697,4695,4694,4693,4692,4690,4689,4688,4687,4686,4685,4684,4683,4682,4681,4680,4679,4676,4675,4674,4673,4672,4671,4670,4667,4666,4663,4662,4661,4660,4659,4658,4657,4652,4651,4650,4649,4648,4647,4646,4644,4641,4640,4639,4638,4637,4633,4632,4625,4624,4623,4622,4621,4620,4619,4618,4617,4616,4615,4614,4609,4608,4607,4606,4605,4602,4601,4600,4589,4588,4586,4585,4584,4583,4582,4581,4580,4579,4578,4577,4576,4572,4569,4567,4565,4564,4563,4562,4561,4549,4548,4547,4546,4545,4544,4543,4542,4541,4540,4539,4538,4537,4536,4535,4534,4533,4532,4531,4527,4526,4525,4524,4515,4514,4513,4510,4509,4508,4507,4506,4505,4504,4502,4501,4500,4499,4492,4438,4437,4436,4435,4434,4433,4432,4431,4429,4427,4426,4425,4424,4422,4421,4420,4419,4418,4417,4416,4415,4399,4374,4362,4361,4360,4358,4357,4356,4355,4354,4353,4352,4351,4344,4342,4341,4298,4297,4293,4291,4284,4283,4282,4280,4269,4267,4265,4263,4261,4259,4257,4256,4255,4254,4253,4252,4251,4250,4249,4248,4247,4246,4245,4244,4243,4242,4241,4240,4239,4238,4237,4236,4235,4234,4233,4232,4231,4230,4229,4228,4227,4226,4225,4224,4222,4221,4220,4219,4216,4207,4206,4205,4204,4203,4201,4200,4198,4197,4196,4195,4194,4190,4186,4185,4184,4183,4182,4181,4180,4179,4177,4176,4175,4171,4170,4169,4168,4167,4166,4164,4163,4162,4158,4157,4156,4155,4154,4153,4152,4151,4150,4149,4148,4147,4145,4144,4143,4138,4135,4134,4133,4132,4131,4130,4129,4124,4123,4118,4117,4116,4115,4114,4113,4112,4110,4108,4107,4106,4105,4104,4103,4102,4101,4100,4099,4098,4097,4095,4094,4092,4091,4087,4086,4085,4084,4083,4082,4081,4080,4079,4078,4077,4076,4075,4074,4073,4071,4070,4069,4068,4067,4066,4065,4064,4063,4062,4061,4060,4058,4057,4054,4053,4052,4047,4046,4045,4044,4043,4042,4041,4040,4039,4037,4035,4033,4031,4029,4028,4026,4025,4024,4023,4022,4021,4020,4019,4018,4017,4016,4012,4011,4010,4009,4008,4007,4006,4005,4002,4001,3998,3996,3995,3994,3993,3992,3990,3987,3986,3985,3984,3982,3980,3969,3966,3965,3962,3961,3960,3959,3958,3957,3955,3953,3950,3946,3945,3944,3940,3938,3937,3936,3935,3931,3930,3929,3928,3927,3926,3925,3924,3923,3922,3921,3920,3919,3918,3917,3916,3915,3911,3910,3909,3908,3907,3906,3903,3895,3894,3893,3892,3891,3890,3889,3888,3887,3886,3885,3884,3883,3882,3881,3880,3879,3878,3877,3876,3875,3874,3872,3871,3870,3869,3868,3867,3866,3865,3863,3862,3861,3860,3859,3858,3857,3856,3855,3854,3852,3851,3848,3846,3845,3844,3841,3840,3839,3837,3836,3835,3834,3833,3832,3831,3830,3829,3828,3827,3826,3825,3824,3823,3822,3819,3818,3817,3816,3815,3814,3813,3811,3808,3807,3806,3805,3804,3803,3802,3801,3798,3797,3796,3795,3794,3793,3792,3791,3790,3789,3788,3787,3786,3785,3783,3782,3780,3779,3777,3776,3775,3773,3772,3771,3770,3769,3768,3767,3766,3765,3764,3763,3762,3760,3759,3758,3757,3756,3755,3754,3753,3752,3751,3750,3749,3748,3747,3746,3745,3744,3743,3742,3741,3740,3739,3738,3737,3736,3735,3734,3733,3732,3731,3729,3727,3724,3714,3711,3710,3709,3706,3699,3697,3696,3695,3693,3692,3691,3690,3689,3688,3687,3686,3685,3684,3683,3682,3681,3680,3674,3672,3671,3670,3669,3668,3666,3665,3664,3663,3662,3661,3660,3659,3658,3657,3656,3652,3650,3649,3648,3647,3646,3645,3644,3643,3642,3641,3634,3633,3632,3631,3629,3628,3627,3626,3625,3623,3622,3620,3619,3618,3617,3615,3609,3608,3607,3606,3605,3604,3603,3602,3600,3599,3598,3597,3596,3594,3593,3592,3591,3590,3589,3588,3587,3566,3564,3563,3562,3561,3559,3558,3557,3556,3555,3554,3553,3552,3551,3550,3549,3548,3546,3545,3544,3542,3541,3540,3539,3538,3537,3536,3535,3534,3531,3529,3527,3523,3522,3521,3520,3519,3518,3517,3516,3515,3514,3513,3510,3509,3508,3507,3495,3494,3493,3492,3491,3490,3489,3488,3487,3486,3484,3483,3482,3481,3480,3479,3477,3476,3475,3474,3473,3472,3471,3470,3469,3468,3467,3465,3464,3463,3462,3460,3459,3457,3455,3453,3452,3451,3450,3449,3448,3447,3446,3445,3444,3443,3441,3440,3439,3438,3437,3436,3435,3434,3433,3432,3431,3430,3429,3426,3425,3423,3422,3420,3419,3418,3417,3416,3415,3414,3413,3412,3411,3410,3407,3405,3403,3402,3400,3399,3398,3397,3395,3394,3392,3391,3389,3388,3387,3384,3383,3380,3379,3378,3377,3376,3375,3374,3373,3369,3343,3335,3334,3333,3332,3331,3329,3327,3326,3321,3319,3318,3317,3316,3315,3314,3313,3312,3311,3308,3307,3306,3285,3276,3273,3197,3187,3186,3184,3183,3182,3181,3180,3178,3177,3176,3175,3173,3172,3171,3170,2715,2714,2713,2711,2710,2579,2264,2263,2259) ORDER BY meta_id ASC fatta da require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Autosaves_Controller->create_item, WP_REST_Autosaves_Controller->create_post_autosave, wp_get_post_autosave, wp_get_post_revisions, get_children, get_posts, WP_Query->query, WP_Query->get_posts, update_post_caches, update_postmeta_cache, update_meta_cache, QM_DB->query
[12-Sep-2020 08:11:58 UTC] PHP Warning:  mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/tzj4vgzyduk4/public_html/wp-includes/wp-db.php on line 1626
[12-Sep-2020 08:12:07 UTC] PHP Warning:  mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/tzj4vgzyduk4/public_html/wp-includes/wp-db.php on line 1626

@PL281  

@Elvis175 

 

Not sure if you are still having an issue - hopefully not - if you are then there is something going on with your settings / mysql server in your account

I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community

@PL281 and what do you think I should check?

*Alvise C.* * Indipendent IT Security Consultant - MVP Windows Expert -
Consumer - MVP Windows Insider - Founder and blogger on
angolodiwindows.com *