?
Solved

Moving users to a new Moodle Server

Posted on 2011-03-01
6
Medium Priority
?
573 Views
Last Modified: 2012-05-11
How would I move users accounts, complete with password from one moodle instance to another. I have full admin access to both moodle and the mySQL backed database which is based on shared web hosting .
0
Comment
Question by:weegiraffe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 10

Accepted Solution

by:
NetExpert-Warszawa earned 2000 total points
ID: 35014574
Copy all SQL tables with names starting with mdl_user_
0
 
LVL 10

Expert Comment

by:NetExpert-Warszawa
ID: 35014578
... starting with mdl_user (mdl_user itself is the most important :) )
0
 

Author Comment

by:weegiraffe
ID: 35033316
Should this be copy the tables, copy the records from the table. I want to ensure that existing records remain in tact
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 10

Expert Comment

by:NetExpert-Warszawa
ID: 35033866
It does not matter. You can:
delete the tables,
dump the old ones with a structure and data,

run the dump script on the new installation

or
delete all records from the tables,
dump the old ones with data only,
run the dump script on the new installation

Before you do anything, make a complete backup of both databases. Just to be able to revert.
0
 

Author Comment

by:weegiraffe
ID: 35068348
Thanks, will a few days before I can attempt this.
0
 

Author Closing Comment

by:weegiraffe
ID: 35354250
Sorry for the delay in getting back to this, life gets busy sometimes
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question