Table 'mdl_config' already exists

Table 'mdl_config' already exists

av Cristi Hojda -
Antall svar: 9

Installing moodle 3.1.1+.

Get this error: 

error

I get this with 3.1.1, 3.05 and 2.8.12.

I have a hosted domain, no acces to system, only CPanel.

Before any instalation I delete databases and users and recreate.

I supose that is something wrong with my server configuration but what ?

Is someone who have this error or can guide me ?


Gjennomsnittlig vurdering: -
Som svar til Cristi Hojda

Re: Table 'mdl_config' already exists

av Albert Ramsbottom -

How have you deleted the DB??

You will need to use myphpadmin to drop the entire DB


Albert

Som svar til Albert Ramsbottom

Re: Table 'mdl_config' already exists

av Cristi Hojda -

With MySQL® Databases from CPanel.

In myphpadmin drop datbase command is deactivated.

Som svar til Cristi Hojda

Re: Table 'mdl_config' already exists

av Plamen Vassilev -

You can:

1. drop the database and recreate it

2. drop ALL tables from the database.

You don't have to delete and recreate users.

Som svar til Plamen Vassilev

Re: Table 'mdl_config' already exists

av Cristi Hojda -

You supose that error is in the informațion schema.

I will check this în the morning and post the results.

Som svar til Cristi Hojda

Re: Table 'mdl_config' already exists

av Emma Richardson -
Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Plugin developers

Try creating a database with a different name and then using that for the install.  That will show you if the problem is in the database or the installer.  If you still get the error with a new database, then I would suggest redownloading the moodle code to ensure that you don't have a bad installer.

Gjennomsnittlig vurdering:Useful (1)
Som svar til Cristi Hojda

Re: Table 'mdl_config' already exists

av Usman Asar -
Bilde av Plugin developers Bilde av Testers

Cristi,

You MAY be given access to either Softaculous or Fantastico as  part of your hosting, try installing Moodle from automated installer and see if that works.