by Abdelrahman Elwakeel.
Hi,
I took the backup moodle from hosting to localhost, beacuse convert mariadb (hosting )to mysql (localhost)
steps done:
1- downloads the folder the project (moodle) and moodledata
and copy to www in environment (wampserver), it is ok
2- export from hosting and import to database localhost, it is ok
3- changed values in config.php, it is ok
4- changed max_allowed_packet to 100M in file my.ini
after all than appear message "Error writing to database"
any anyone help me the solve the problem ?