Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base table or view already exists: 1050 Table 'marate' already exists #3

Closed
imadtoubal opened this issue Mar 5, 2018 · 10 comments
Closed
Labels

Comments

@imadtoubal
Copy link

I have this error when i install

[PDOException]
  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'marate' already exists
@eureka2
Copy link
Owner

eureka2 commented Mar 6, 2018

Hi,

What is the version of composer do you use?

Which DBMS do you use? SQLite, PostgreSQL or MySQL?

@imadtoubal
Copy link
Author

I am using Mysql and Composer 1.6.3

@eureka2
Copy link
Owner

eureka2 commented Mar 6, 2018

I can not reproduce this issue :

  • I downloaded composer 1.6.3 in my DOCUMENT_ROOT directory
  • I created a database that I named g6k
  • I created a user g6k with all global privileges
  • and i ran php -d memory_limit=-1 composer.phar create-project eureka2/g6k simumysql/
    see : install_g6k.log

Can you delete the databases "demo" and the one you created, restart the installation and show me the trace of the installation?

@imadtoubal
Copy link
Author

I have already tried this, the error occurs in the first installation as well.

@eureka2
Copy link
Owner

eureka2 commented Mar 6, 2018

can you access the administration interface? http://localhost/simulator/calcul/admin

@imadtoubal
Copy link
Author

I cannot, it tells me that I do not have the demo. (my guess is because it is simply not present in the database)

@ArfaouiHamouda
Copy link

ArfaouiHamouda commented May 29, 2018

Hi @eureka2 i had the same issue and when i try to login as admin i dunno the Password , the Documentation isn't clear sorry .

Edit : Probleme is solved but still can't figure out the Default Password so i can access the Admin Panel .

@eureka2
Copy link
Owner

eureka2 commented May 29, 2018

Hi,

I have just released a new version (3.3.0), can you start the installation again?

Before you start the installation:

  • delete the databases created during the previous installation.
  • check that the MySQL user has rights to create databases and tables
  • clear the composer cache: php -d memory_limit=-1 composer.phar clear-cache

and restart the installation:
php -d memory_limit=-1 composer.phar create-project eureka2/g6k simulator/

the password of admin is admin1

@ArfaouiHamouda
Copy link

Thanks alot that solved my probleme , i appreciate your help

@eureka2 eureka2 added the bug label May 31, 2018
@eureka2
Copy link
Owner

eureka2 commented May 31, 2018

fixed in version 3.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants