Adding users to courses, modify database with sql

Adding users to courses, modify database with sql

by Ángel Parajón Candel -
Number of replies: 0

Hello everyone thanks for reading. I have added a user to a course one existene by updating the table sql statement mdl_role_assignments. I look with phpmyadmin and the line is inserted into the table mdl_role_assignments. But when I refresh the current user appears as a student of that course. We add manually using the Moodle interface and it appears but does not add any new line to the table mdl_role_assignments. The question is whether to insert something else in some other table or be done to give effect to the incursion of the student in the course. Thank you very much in advance regards

Average of ratings: -