HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Unknown database xxx

Login / Search

 [ Join | More ]
 
Posted
Rating:
#47887 (In Topic #10448)
Avatar

The configured database that ocPortal should use is not present on the MySQL server.

How did this happen?

This could happen for a number of reasons:
  1. You have configured ocPortal to use the wrong MySQL database.
  2. The MySQL database you configured has been renamed or removed.
  3. You have moved your website to a new web server and not correctly updated the ocPortal configuration and/or set up your database.

How do I fix it?

If you have just moved/installed your website then you likely entered the wrong database name. Your web hosting control panel likely provides documentation an interface where you can manage your MySQL databases. Note that on some web hosts you enter a database name but it gets given a prefix - if this is the case it should be indicated in the web hosting control panel.
You can edit your configured 'Installation Options'. Call up the '/config_editor.php' script (by URL) and log in to it. You can update your configuration from there.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.