Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Installations Throwing "The MySQL Connection could not be established."

1


Threaded Mode | Print  

 Installations Throwing "The MySQL Connection could not be established." (15 Replies, Read 12033 times)
mark012492
Group: Member
Post Group: Newbie
Posts: 7
Status:
I can not provide you credentials to login. Please let me know if you need any further information.


When trying to install packages in Softaculous you get the following.
The MySQL Connection could not be established.Specs: Cent 6.8, WHM 62, EA4, Softaculous 4.8.4, MariaDB 10.0.28

What I have done

  • Re installed Softaculous
  • Reset MySQL Root Password
  • Restart Cpanel/MariaDB
  • Verified Databases can be created in cPanel
  • Disabled and Enabled IonCube Loaders in Tweak Settings
Nothing gets logged in /var/softaculous/error_log.log
cPanel error log shows the following
Code
cPanel LiveAPI parser returned XML, which is deprecated. Please file a bug report at https://tickets.cpanel.net/submit/
sh: /opt/cpanel//root/usr/bin/php: No such file or directory
[2017-01-10 11:44:39 -0500] warn [cpaneld] The subprocess (cpanel (cpanel)) exited with an error: The subprocess ended prematurely because it received the “SEGV” (11) signal. The process dumped a core file. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 159.
Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x2b00210)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 74
Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x2b00210), "subprocess_name", "cpanel (cpanel)", "subprocess_read_handle", IO::Handle=GLOB(0x2b7fc60), "subprocess_write_handle", IO::Handle=GLOB(0x2afcf78), "api_type", ...) called at cpsrvd.pl line 6475
cpanel::cpsrvd::cpHandler("app", "cpanel", "document", "./frontend/paper_lantern/softaculous/index.live.php") called at cpsrvd.pl line 2363
cpanel::cpsrvd::dodoc_cpaneld() called at cpsrvd.pl line 1607
cpanel::cpsrvd::dodoc(HASH(0x13a4008)) called at cpsrvd.pl line 1367
cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 849
cpanel::cpsrvd::script() called at cpsrvd.pl line 319
IP: --   

Installations Throwing "The MySQL Connection could not be established."
aakash_softac
Group: Member
Post Group: Super Member
Posts: 544
Status:
Hi,

If you can please open a support ticket with us we can check this issue for you :
https://www.softaculous.com/support/

-----------------------
Aakash Gupta
SitePad Developer

Follow us for faster updates
Twitter: https://twitter.com/sitepad_editor
Facebook: https://facebook.com/SitePad
IP: --   

Installations Throwing "The MySQL Connection could not be established."
truecms
Group: Member
Post Group: Newbie
Posts: 2
Status:
Did you get that resolved?
IP: --   

Installations Throwing "The MySQL Connection could not be established."
truecms
Group: Member
Post Group: Newbie
Posts: 2
Status:
Same error here, can't find resolution. If you get hat resolved, please update the solution.
IP: --   

Installations Throwing "The MySQL Connection could not be established."
mark012492
Group: Member
Post Group: Newbie
Posts: 7
Status:
From the softaculous team.

"The issue is due to a bug in WHM 11.62.0.1 in cPanel's API to detect the PHP version selected by the user using MultiPHP Manager in EasyApache 4. The API failure causes all the API calls (eg: database creation) executed after this API call to fail.
The cPanel team has an open case (CPANEL-10700) for this issue and once they fix it your issue should resolved."

You can verify the patch gets pushed by monitoring the cPanel change log for 62 at the link below

https://documentation.cpanel.net/display/CL/62+Change+Log
IP: --   

Installations Throwing "The MySQL Connection could not be established."
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5653
Status:
Hi,

Sorry for the delay in response.

Unfortunately the issue is not yet fixed by the cPanel team and we are awaiting for a fix regarding this case.

Also we have released Softaculous 4.8.5 in which we have disabled the PHP requirements check for EasyApache 4 servers since the cPanel API call we used in this check was failing :
http://www.softaculous.com/board/index.php?tid=10005

Once the cPanel team fixes this case we will release a new version of Softaculous in which we will restore the PHP requirements check for EasyApache 4

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Installations Throwing "The MySQL Connection could not be established."
jcats
Group: Member
Post Group: Newbie
Posts: 7
Status:
Any update on this?

Same problem persists on 62.0.8
IP: --   

Installations Throwing "The MySQL Connection could not be established."
ncube
Group: NOC
Post Group: Newbie
Posts: 5
Status:
Problem confirmed across all our servers today. Something happened in the last 24 hours causing issue. 

Running softaculous 4.8.7
tested on cpanel 62.08 and 62.10

all new installations fail with db error. This is urgent and needs to be resolved.
IP: --   

Installations Throwing "The MySQL Connection could not be established."
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5653
Status:
Hi,

Sorry for the inconvenience.

It seems the cPanel team has not fixed this issue yet.

We have again disabled PHP version detection in EasyApache4 MultiPHP Manager and we are launching Softaculous 4.8.8 by today with a workaround so you should not face this issue.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Installations Throwing "The MySQL Connection could not be established."
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5653
Status:
Hi,

We have released Softaculous 4.8.8 with the workaround to disable the requirements for servers with cPanel 11.62.0.x and EasyApache 4

Please execute the CRON command to update Softaculous :
Code
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cron.php


Sorry for the inconvenience caused.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Installations Throwing "The MySQL Connection could not be established."
erizo
Group: Member
Post Group: Newbie
Posts: 7
Status:
Quote From : Brijesh February 9, 2017, 10:25 am
Hi,

We have released Softaculous 4.8.8 with the workaround to disable the requirements for servers with cPanel 11.62.0.x and EasyApache 4

Please execute the CRON command to update Softaculous :
Code
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cron.php


Sorry for the inconvenience caused.


Work for me. Thanks Brijesh
IP: --   

Installations Throwing "The MySQL Connection could not be established."
anais
Group: Member
Post Group: Newbie
Posts: 5
Status:
Hi
I'm trying to install wordpress on a cpanel installation with sofatculous 4.9.2
The username is 5 characters and so is the database name so is unlikely to be over the 16 character limit.
The following errors were found :         
The MySQL Connection could not be established.
Could not unzip the Language files
The MySQL Connection could not be established.

Please help.
IP: --   

Installations Throwing "The MySQL Connection could not be established."
salman
Group: Webuzo Team
Post Group: Working Member
Posts: 213
Status:
Hi,

Please open a support ticket with us with server details so we can check what causing the issue.
IP: --   

Installations Throwing "The MySQL Connection could not be established."
Morinmote10
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hey there, did you get solution for this problem? actually i have same

-----------------------
http://hosting-reviews.co.uk/
IP: --   

Installations Throwing "The MySQL Connection could not be established."
anais
Group: Member
Post Group: Newbie
Posts: 5
Status:
Yes, I resolved

Sent ticket to support and just ,
The wp packages I installed were updated

here the instructions:

rm -rf /var/softaculous/wp/*
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cron.php

IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 14, 2024, 11:24 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.030