Database Settings Message while installing http://localhost/moodle/install.php

Database Settings Message while installing http://localhost/moodle/install.php

by Ram V -
Number of replies: 5

Hi I was able to get to http://localhost/moodle/install.php and when i move further in the screens provided. I have a Database connection settings window and i enter all the details properly and also created databae in mysql but iam getting the error.

Using : improved mysql (native mysqli)


Error: Database connection failed

It is possible that the database is overloaded or otherwise not running properly.

The site administrator should also check that the database details have been correctly specified in config.php

Warning: mysqli::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in C:\Apache24\htdocs\moodle\lib\dml\mysqli_native_moodle_database.php on line 79

Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in C:\Apache24\htdocs\moodle\lib\dml\mysqli_native_moodle_database.php on line 79
Average of ratings: -
In reply to Ram V

Re: Database Settings Message while installing http://localhost/moodle/install.php

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

First, please edit your profile and change it to your real name smile   We are all 'Moodle User' here and we'd really like to know who we are talking to. Thanks big grin

Then... MySQL 8 presumably?

See, https://stackoverflow.com/questions/50026939/php-mysqli-connect-authentication-method-unknown-to-the-client-caching-sha2-pa

Average of ratings: Useful (3)
In reply to Howard Miller

Re: Database Settings Message while installing http://localhost/moodle/install.php

by Ram V -
Thanks i have updated my name. Shall visit the link provided and work on

it. Rgds Ram



On Wed, Feb 27, 2019 at 7:49 PM Howard Miller (via Moodle.org) <
In reply to Ram V

Re: Database Settings Message while installing http://localhost/moodle/install.php

by Ram V -

I checked the settings and now working fine.

In reply to Ram V

Re: Database Settings Message while installing http://localhost/moodle/install.php

by Ram V -

Logical Closure

In reply to Ram V

Re: Database Settings Message while installing http://localhost/moodle/install.php

by USMAN HAIDER -

Hi, how you resolve this issue? I'm facing same problem here. Can you please help me out?

Average of ratings: Useful (1)