Support

Akeeba Backup for WordPress

#29438 RuntimeException - Unable to connect to the Database: Could not connect to MySQL

Posted in ‘Akeeba Backup for WordPress’
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

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Wednesday, 25 April 2018 17:17 CDT

bestofcologne
Please look at the Attachment.
RuntimeException - Unable to connect to the Database: Could not connect to MySQL

tampe125
Akeeba Staff
Hello,

Can you please attach the log file of the failed backup?
Can you please double check that you didn't set an additional database in the Multiple Database definition page?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tampe125
Akeeba Staff
By the way, I just saw that you got such error while restoring a backup (my bad, I thought it happened while taking a new backup).
In this case, the solution is even simpler: most likely you have not entered the correct database connection information, you have not created a database, you have not created a database user or you have not given the correct privileges to the database user for the database.
For further info please take a look at our troubleshooter page

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

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!