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."



Threaded Mode | Print  

 Installations Throwing "The MySQL Connection could not be established." (10 Replies, Read 1468 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: Softaculous Team
Post Group: Working Newbie
Posts: 51
Status:
Hi,

If you can please open a support ticket with us we can check this issue for you :
https://www.softaculous.com/support/
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: 3437
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

-----------------------
SiteMush Website Builder
Follow us on Twitter
IP: --   

Installations Throwing "The MySQL Connection could not be established."
jcats
Group: Member
Post Group: Newbie
Posts: 4
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: 3437
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.

-----------------------
SiteMush Website Builder
Follow us on Twitter
IP: --   

Installations Throwing "The MySQL Connection could not be established."
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 3437
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.

-----------------------
SiteMush Website Builder
Follow us on Twitter
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: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 28, 2017, 8:44 pm.

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