Cannot install moodle on windows 10
The following error occured while invoking localhost for installation in Database settings page:
The database is where most of the Moodle settings and data are stored and must be configured here.
The database name, username, and password are required fields; table prefix is optional.
The database name may contain only alphanumeric characters, dollar ($) and underscore (_).
If the database currently does not exist, and the user you specify has permission, Moodle will attempt to create a new database with the correct permissions and settings.
This driver is not compatible with legacy MyISAM engine.
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(): (HY000/1045): Access denied for user 'moodle-st'@'localhost' (using password: YES) in C:\Moodle\server\moodle\lib\dml\mysqli_native_moodle_database.php on line 79
Moodle-Learning-Management-System General None min None sec
This is because XAMPP was not installed properly on your system. Please reinstall XAMPP and try again.
Please follow the steps given in the below link:(see page 2 for windows installation)
Check this out:
There is a dedicated driver for MariaDB. It is recommended to explicitly specify mariadb Moodle driver in config.php:
$CFG->dbtype = 'mariadb';
$CFG->dblibrary = 'native';
You should find this file at C:\Moodle\server\moodle\config.php
Let us know if there are any further queries.