Support

Site Restoration

#38757 unable to restore

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
8.0.27
CMS Type
Joomla!
CMS Version
4.2.9
Backup Tool Version
9.5.1
Kickstart version
7.1.2

Latest post by tampe125 on Monday, 20 March 2023 06:30 CDT

aw4p

Hello,

At the moment I have two hosts:

1. An old one, Infomaniak - displays PHP errors, but I can easily perform the Akeeba restoration - https://aw4piano3.info.aw4piano.info

2. A new one, Hostinger - no PHP problems, but absolutely impossible to restore - https://alwor.online

Since yesterday I tried dozens of possibilities from both sides: creating new databases and with Akeeba restore. I get an error message every time (please find a copy of it below).

Thanks in advance for your help.

Best regards,

Aleksander Woronicki

****************

Database restoration

An error occurred while restoring the database. The error message can be found below. Click on the × button at the top right of this dialog message to close it and return to the database restoration page.

Wrong database connection information

We were unable to connect to your database server using the server host name, username and password you provided.

The error received was:

Cannot connect to the database: one or more of the database host name, user name and password you have provided is incorrect.

Could not connect to MySQL via PDO: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

How to fix this error

Show / Hide

Debug information

Show / Hide

Please include this information in your support request if you need further assistance. Do tell us which troubleshooting steps you've already tried.

Cannot connect to the database: one or more of the database host name, user name and password you have provided is incorrect.

/home/u944065235/domains/alwor.online/public_html/installation/framework/database/restore/mysqli.php:84

#0 /home/u944065235/domains/alwor.online/public_html/installation/framework/database/restore/mysqli.php(46): ADatabaseRestoreMysqli->getDatabase()

#1 /home/u944065235/domains/alwor.online/public_html/installation/framework/database/restore.php(294): ADatabaseRestoreMysqli->__construct()

#2 /home/u944065235/domains/alwor.online/public_html/installation/angie/controllers/dbrestore.php(57): ADatabaseRestore::getInstance()

#3 /home/u944065235/domains/alwor.online/public_html/installation/framework/controller/controller.php(510): AngieControllerDbrestore->start()

#4 /home/u944065235/domains/alwor.online/public_html/installation/framework/dispatcher/dispatcher.php(263): AController->execute()

#5 /home/u944065235/domains/alwor.online/public_html/installation/framework/application/application.php(176): ADispatcher->dispatch()

#6 /home/u944065235/domains/alwor.online/public_html/installation/index.php(129): AApplication->dispatch()

#7 /home/u944065235/domains/alwor.online/public_html/installation/index.php(244): mainLoop()

#8 {main}

Could not connect to MySQL via PDO: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

/home/u944065235/domains/alwor.online/public_html/installation/framework/database/driver/pdomysql.php:221

#0 /home/u944065235/domains/alwor.online/public_html/installation/framework/database/restore/mysqli.php(79): ADatabaseDriverPdomysql->connect()

#1 /home/u944065235/domains/alwor.online/public_html/installation/framework/database/restore/mysqli.php(46): ADatabaseRestoreMysqli->getDatabase()

#2 /home/u944065235/domains/alwor.online/public_html/installation/framework/database/restore.php(294): ADatabaseRestoreMysqli->__construct()

#3 /home/u944065235/domains/alwor.online/public_html/installation/angie/controllers/dbrestore.php(57): ADatabaseRestore::getInstance()

#4 /home/u944065235/domains/alwor.online/public_html/installation/framework/controller/controller.php(510): AngieControllerDbrestore->start()

#5 /home/u944065235/domains/alwor.online/public_html/installation/framework/dispatcher/dispatcher.php(263): AController->execute()

#6 /home/u944065235/domains/alwor.online/public_html/installation/framework/application/application.php(176): ADispatcher->dispatch()

#7 /home/u944065235/domains/alwor.online/public_html/installation/index.php(129): AApplication->dispatch()

#8 /home/u944065235/domains/alwor.online/public_html/installation/index.php(244): mainLoop()

 

tampe125
Akeeba Staff

Hello,

let me try to restore your website for you. Can I please have access to the new site?

I'll need FTP access as well as the database access details.

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!

aw4p

Hello,

Thank you for the quick reply. Here are my codes:

************************

ACCESS TO MY NEW SITE

https://alwor.online

Joomla admin codes:

alek-woron

Haslo!DoZmiany#23

************************

FTP (FileZilla)

Host:

alwor.online

User:

u944065235

Password:

MzZjITQydk5VQHhkVj0=

************************

 DATABASE (screenshot attached)

host:

u944065235_aw2

user:

u944065235_aw2

password:

N6AkaCR3zW42tHa68V4cTgp72

db:

u944065235_aw2

************************

I hope I haven’t missed anything.

Thanks,

Best regards,

Aleksander Woronicki

tampe125
Akeeba Staff

Ok, I think I got what's going on.

It seems that the HOST parameter for the database is not correct. During restoration, leave it blank or set it to localhhost , that should fix your issue.

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!

aw4p

It’s perfect, thanks a lot!

Best regards,

Aleksander Woronicki

tampe125
Akeeba Staff

You're welcome!

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!

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!