Moodle CSV error uploading to database

  • Answered
when i upload users under csv file, when i click update the list, i get this error..."Error writing to database"...what is wrong with this, and how do i correct it?
kindly help. thanks
This error can be caused by a multitude of reasons. What specific errors are displayed on the page?

Most commonly, be sure that your database information defined within Moodle match the correct database user, password, and database name that you have set up.