Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Mysql problem



Threaded Mode | Print  

 Mysql problem, The MySQL Connection could not be established. (1 Replies, Read 2242 times)
alejogmzo
Group: Member
Post Group: Newbie
Posts: 1
Status:
I have bought softaculous for DIRECTADMIN
whenever I try to install any software through softaculous this will not let me and displays the following error

"The MySQL Connection could not be established." See attachament

The directadmin database creator works fine.
IP: --   

Mysql problem
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5637
Status:
Hi,

We have replied to your ticket and the installation now works fine.

The issue was that MySQL socket file was located at some other location than the default location and we have php.ini in softaculous which is loaded in Softaculous due to which Softaculous was looking for the path to mysql.sock file at default location.

I added the following line in php.ini in softaculous directory :
mysqli.default_socket = "/path/to/mysql.sock"

I also replicated the same changes to :
/usr/local/directadmin/plugins/softaculous/conf/custom.ini

so that when a new version of Softaculous is released the changes are replicated in the new php.ini

Let us know if you still face the issue.

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

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 5:44 am.

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