Moodle 2 Error Reading From Database
Contents |
General help /► Error reading from database Moodle 2.3.1 Moodle in English General helpError reading from database Moodle 2.3.1Restoring Course in 2.4
Moodle Error Reading From Database After Upgrade
without User DataMenus - Balance of functionalityDisplay modeDisplay replies flat, moodle error writing to database with oldest firstDisplay replies flat, with newest firstDisplay replies in threaded formDisplay replies in nested formError
Moodle Error Code: Dmlreadexception
reading from database Moodle 2.3.1Tracey CollinsWednesday, 8 August 2012, 12:44 PMHi, I am running Moodle 2.3.1 (Build: 20120726) and have received the following error when trying moodle 3 error reading from database to restore a course from a backup. When I click on the More information link, I get the following message: I have purged all caches and the problem has persisted. I have been able to successfully restore another backup file in the same install of Moodle. The backup file that is causing the problem has also been used successfully on a number of previous occassions. The same error message also appears if I select Site Administration/Registration: Does anyone know why this error is appearing and what I can do to overcome it? Thanks, TraceyAverage of ratings: - Permalink | ReplyRe: Error reading from database Moodle 2.3.1Ken TaskWednesday, 8 August 2012, 2:04 PMBy chance, are you restoring and changing course name/details in order to replicate? At what point in the restore process does this happen? Might turn on debug. 'spirit of sharing', KenAverage of ratings: - Permalink | Show parent | ReplyRe: Error reading from database Moodle 2.3.1Tracey CollinsWednesday, 8 August 2012, 4:39 PMHi Ken, Yes, I am changing the course name and details in order to replicate the file (ie we are using it as a template). I get all the way through the restore process and then the 'error reading from database' message comes up when you would
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error installing Moodle 3.0 up vote 0 down vote favorite I am unable to complete Moodle installation. I am hosting the site on NearlyFreeSpeech and using PHP 5.6. Moodle doesnt seem to https://moodle.org/mod/forum/discuss.php?d=208642 be able to connect to the database and write any tables. I created the moodledata folder in /protected/moodledata and moodle is in /public/moodle I receive this error after accepting the terms and conditions. Error reading from database More information about this error It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix if you want to retry the installation. moodle php-5.6 share|improve this question http://stackoverflow.com/questions/34550808/error-installing-moodle-3-0 asked Dec 31 '15 at 19:23 Matt P 206149 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Normally my first instinct would point to the config.php file but if it's getting as far as telling you that a connection is established with the database but there's a read error ("Error reading from database"), then that generally means your config.php file is probably healthy, but your database is not. Firstly, check that you're using one of the following database servers that Moodle is compatible with (minimum version) PostgreSQL 9.1 MySQL 5.5.31 MariaDB 5.5.31 Microsoft SQL Server 2008 Oracle Database 10.2 source. Secondly, ensure that the user assigned to access your database in config.php has ALL PRIVILEGES set on that database. Moving on... If this is a fresh install and you have no data to lose, your best bet is to start with a clean database. You can either delete your existing database and set up a new one, or you can drop all tables from your existing database. Option 1. Delete your existing database. Delete your config.php file Jump to phpMyAdmin (from the 'actions' tab on the MySQL process page) Click on "Databases" Delete your existing database Hit "Create database" to generate a fresh, empty database Go to http://your.url/install.php and follow the instructions for a fresh install. Option 2. Clear your existing database Jump to phpMyAdmin and run the following query:
a Question User articles Tools & Resources Email Settings Tool Online Blacklist Check DNS Lookup Returned Email Analyzer What is my IP Address? Learning Corner Concrete5 Contao cPanel Domain Names Email MODx OpenCart 1.5 osCommerce Premium Website Builder PrestaShop 1.4 PrestaShop 1.5 VirtueMart Websites Website http://www.webhostinghub.com/help/community/moodle/error-reading-database Design WordPress Zen Cart »Community Q&A Community Q&A Browse Questions Ask a Question User articles Community Q&A: Questions Categories Users Ask a question Moodle "error reading database" in import Asked by:Joe_Shiki / 62 Points Time:2013-09-17 7:44 am EST Category:Moodle http://www.inmotionhosting.com/support/community-support/moodle Hits:5,111 I installed moodle in a subdomain, but it seems to be having a lot of problems. When I try to upload the courses that I saved from my old moodle site, I get "error reading database". I also get error reading the same error sometimes when I try to access the page. It also happens at other times when I am setting up the site. I read the moodle documentation about this at http://docs.moodle.org/24/en/Errors_FAQ but there is nothing there that helps me. I really need to get this fixed so that my students can use it. Any ideas, anybody? Thanks a lot. To ask this user for more information, please first login. To submit an answer, please login. ANSWERS 0 error reading from johnpaulb-whh2 Staff 11,269 Points 2013-09-17 9:17 am EST Hello Joe_Shiki, Thank you for your question. We are happy to help, but will need more information to help troubleshoot the issue, since "error reading database" is a very general error. Is there any additional information with the error, such as an error code? Can you provide the error? What steps are you taking to import the classes? This will help us replicate the error. Have you read the official moodle guide on importing your data, or migrating your site? We also have a helpful tutorial on moving your website to us, if you are migrating a whole website. If you have any further questions, feel free to post them below. Thank you, -John-Paul To submit a comment on this answer, please first login. Hi John, There is no error code. It only says "error reading database" or "error reading from database". Yes, I have read the Moodle documentation on importing classes and migrating. I changed the primary domain on my account and wanted to move my moodle from a subfolder of my old primary domain teachingislearning.com/moo to a sub domain of my new primary domain albapages.net . However, the whole migration in moodle dscribed on the site is extremely complicated and did not seem like something I could do. Instead, I backed up the classes to my home computer. I then erased the moodle installation wit
DOMAINS WEB DESIGN WEB DESIGN SERVICES CREATE YOUR OWN WEBSITE SITE HOSTING TOOLS MEET US MEET US ABOUT US PARTNERS & AWARDS BLOG WE'RE HIRING CONTACT US AMP LOGIN SUPPORT CENTER Search Support Center Product Guides Dedicated Hosting Reseller Hosting KnowledgeBase Website Email Domain Names Reseller Billing Community Support Browse Questions Ask a Question User Submitted Articles Education Channels Android BoldGrid cPanel DokuWiki Drupal 7 Drupal 8 Everything Email Joomla 2.5 Joomla 3.1 K2 Magento 1.6 Mambo MediaWiki Moodle Movable Type OpenCart OpenCart 2.0 osCommerce PHP-Fusion PHP-Nuke phpBB phpList Premium Website Builder PrestaShop 1.5 PrestaShop 1.6 SMF Tiki Wiki VirtueMart 3 Web Hosting Manager Website Design WordPress Tools & Resources Email Configuration Blacklist Check Visual DNS Lookup Quick Tagger Icon Sets Favicon Generator Bounce Back Parser What is my IP address? >>Community Support Community Support Browse Questions Ask a Question User Submitted Articles Community Support Questions Categories Users Ask a question Q&A: Moodle Browse other questions Questions 12,725 Views 1 Answer Moodle installation via Fantastico After installing moodle on my domain, I can log in as an admin but then the webpage is blank and I have no access to the moodle menus or interface. An... jballcc@yahoo.com 2011-10-25 09:24 am EST 5,928 Views 1 Answer Why can't Moodle link to an external URL? I have installed Moodle and have set up a learning module where I am trying to link to an external file. I am getting feedback that I do not have priv... billwilson 2011-12-22 07:57 pm EST 5,390 Views 1 Answer How do I correct an error while attempting to re-install Moodle using Fantastico? I uninstalled and reinstalled my Moodle site using Fantastico. I am now getting the following error: The installation can not be completed: -... billwilson 2011-12-31 07:29 pm EST 4,869 Views 1 Answer Creating moodle data directory Hello, I'm trying to install moodle and getting into a point where Data directory need to be created/placed inside the web root. Here are s... Wordsup 2012-05-16 12:40 pm EST 3,849 Views 1 Answer Is there a workaround for Moodle 2.2.1 for php 5.3? I tried to install Moodle (currently version 2.2.1) through Fantastico. After installation is completed, I went to the site. however, I only get the f... eNousk 2012-02-29 06:51 am EST 3,043 Views 1 Answer Can I change my Moodle URL? Just set up a moodle, but didn't think carefully about the URL and so I've tried to change it. Would I be able to simply move the moodle to ... beth543 2013-08-08 0