Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6588

Re: migrate to a new server using restore doesn't bring users

$
0
0

by Will H.  

solved.

I looked in vain for a server side problem. I then did the restore using Google Chromium browser (Chrome) and it worked. Mozilla Firefox continues to time out. I'm not sure why Firefox doesn't keep the session alive in the browser.

The session continues operating on the database after the browser times out. That's why I kept looking for a server side problem. 

Here are some other useful diagnostics which I found on the way:

  • Show the queries being processed by MySQL by passing
    SHOW FULL PROCESSLIST;
    which is a direct command whose equivalent is:
    SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
  • You can see the size of tables (and their changes) by passing
    SELECT TABLE_NAME, TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE 'mdl_%';
  • Turn on the MySQL general log by adding this to your my.cnf file in the [mysqld] section (from StackOverflow)
    general_log = on
  • restores where there are a very large number of users and attempts take a significant period of time. The course which caused this forum thread generated 1,989,000 queries. The quiz.xml file which contained the data was 323MB when unpacked.
Will

Viewing all articles
Browse latest Browse all 6588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>