Could not connect to database

If you see this error popping up on InterWorx

Could not connect to database, please check the Username/Password of your database. 

If changed, please update the details in Softaculous installations using Edit Details.


There are 2 possible solutions:

Solution 1)

Change the database host from

localhost

to

127.0.0.1

while editing the installation.


Solution 2)

nano /etc/hosts


Add the following line:

127.0.0.1 localhost.localdomain localhost


If you still have questions concerning your connection to your Softaculous database, make sure to contact us by opening a support ticket or our live chat feature.

  • 0 Users Found This Useful
Was this answer helpful?

Also Read

INFO.XML not found

This error usually occurs when script packages are missing. If you have a firewall, then make...

Can not find /var/softaculous

Error: softaculous: plugin disabled: Can not find /var/softaculous Installer may still be...

What is an Automatic backup?

A backup is a system that copies your data - your files, pictures, folders, etc - into an archive...

Using Softaculous scripts While Your Domain is Still Propagating

Some scripts automatically incorporate your domain name from your hosting account’s...

How to Determine your Server's IP Address

In the case that your server carries multiple IP addresses, it is important to know which one is...