Error Reading From Database Moodle 2.0
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 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 Hits:5,082 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 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 johnpaulb-whh2 Staff 11,259 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 with Softaculous. Then, I made a subdomain, ils.albapages.net
Wagtail Moodle WordPress DBMS PostrgeSQL MySQL MongoDB Programming JavaScript Python Ruby PHP Git Moodle How to Fix: Moodle - Error ReadingDatabase Date: March 3, 2016Author: Bilind Hirori 8 Comments Open the file: moodle/lib/dml/mysqli_native_moodle_database.php Change @@default_storage_engine to @@storage_engine Like this:Like Loading... Published by Bilind Hirori Web Developer View all posts by Bilind Hirori Post navigation Previous Previous post: Configuring PHP on Nginx, Ubuntu14.04Next Next post: Apache - How to Disable DirectoryListing 8 http://www.webhostinghub.com/help/community/moodle/error-reading-database thoughts on “How to Fix: Moodle - Error ReadingDatabase” Add Comment GI CI says: August 18, 2016 at 5:13 am thanks🙂 Reply Bilind Hirori says: August 18, 2016 at 7:05 am You're welcome😉 Reply Ramil Mustafayev says: September 29, 2016 at 11:20 am Did this work for someone? Reply Bilind Hirori says: September 29, 2016 https://blndxp.wordpress.com/2016/03/03/fixed-moodle-error-reading-database/ at 12:56 pm Of course. Reply Andy says: September 29, 2016 at 9:09 pm thanks a lot! you saved my night! Reply Bilind Hirori says: September 29, 2016 at 9:12 pm You're welcome. Glad I could help! Reply Janardan says: October 9, 2016 at 6:00 am In my case, it was already ‘@@storage_engine', so I tried changing it to ‘@@default_storage_engine' and it worked like a charm! Thanks Bilind Reply Bilind Hirori says: October 9, 2016 at 8:38 am Oops! Glad it worked for you. Reply Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Change) You are commenting using your Google+ account. (LogOut/Change) Cancel Connecting to %s Notify me of new comments via email. Search for: Search
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 http://stackoverflow.com/questions/34550808/error-installing-moodle-3-0 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 4.7 million programmers, just like http://www.inmotionhosting.com/support/community-support/moodle 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 error reading using PHP 5.6. Moodle doesnt seem to 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 error reading from you want to retry the installation. moodle php-5.6 share|improve this question 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 h
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,927 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,388 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,862 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,848 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,036 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-