User database

User database

by Pal Kerecsenyi -
Number of replies: 3

I would like to create a database for user accounts, which Moodle uses for it's own user accounts but other websites that I own, such as email accounts will use the same username and password as the user account on Moodle does. So if I change my password or create a user account on e.g. Moodle, then I will have the same user account and same password automatically added to my other sites, like Wordpress or my hosting plan's email system on 1and1.co.uk. 

Is there any free way to do this?

Average of ratings: -
In reply to Pal Kerecsenyi

Re: User database

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

You can set Moodle to use an external database for its authentication

http://yourmoodlesite/admin/auth_config.php?auth=db

https://docs.moodle.org/29/en/External_database_authentication

whether those other tools and sites can make use of an external database is an issue for them - I believe WP will, but you would probably have to talk to 1and1 about your hosted email (or whether the user database for your emails is accessible externally so you can use that as the Moodle authentication external database)

In reply to Richard Oelmann

Re: User database

by Pal Kerecsenyi -

Thank you for the quick reply,

I'm not very good at database systems so please could you explain how I would create one? I have unlimited MySQL database - if that would help - with a 1and1 unlimited plus hosting account.


Thanks in advance.