saving . . . saved Cannot install moodle on windows 10 has been deleted. Cannot install moodle on windows 10 has been hidden .
Cannot install moodle on windows 10
Title
Question
The following error occured while invoking localhost for installation in Database settings page:
Database settings
MariaDB (native/mariadb)
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.


Database host
localhost
Database name
moodle-st
Database user
moodle-st
Database password
moodle-st
Tables prefix
mdl_
Database port

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 20-05-20, 9:48 p.m. snccgnr

Answers:

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)

https://spoken-tutorial.org/media/videos/97/Moodle-Learning-Management-System-Installation-Sheet-English.pdf
21-05-20, 11:58 a.m. NirmalaVenkat


Check this out:
- https://docs.moodle.org/38/en/MariaDB

It says:
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.

24-05-20, 10:02 p.m. kashmira.n


Log-in to answer to this question.