Support

Site Restoration

#13340 "Database connection error (2): Could not connect to MySQL."

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

nicol
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? No
Joomla! version: 2.6.2
PHP version: (5.3 I think)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version which took the backup: (latest pro)
Kickstart version used to extract the backup: (used restore within programme..)

Description of my issue:

I have restored an archive, and all seems to be ok - site files appear via FTP and the full database is there. But the site is telling me:

"Database connection error (2): Could not connect to MySQL."

I've double checked the database settings in configuration.php - nothing has changed and they all still work, and I can connect to the database using those details thru PHPMyAdmin

nicholas
Akeeba Staff
Manager
I am not sure why you closed this ticket before I reply? The error message means that your configuration.php file wasn't written properly when you restored your site. You will have to edit it manually and update the database connection information in there. Or redo the restoration.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.