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

Can't install wallabag via composer install if my mysql database doesn't exist #1769

Closed
nicosomb opened this issue Mar 8, 2016 · 3 comments
Labels
Milestone

Comments

@nicosomb
Copy link
Member

nicosomb commented Mar 8, 2016

Issue details

When I launch SYMFONY_ENV=prod composer install --no-dev -o, if my mysql database doesn't exist before this command, I can't install wallabag:

An exception occured in driver: SQLSTATE[42000] [1049] Unknown database 'wallabag' 

Found with @chris25640

Environment

  • wallabag version (or git revision) that exhibits the issue: 2.0.0-beta.1
  • How did you install wallabag? Via composer install
  • Last wallabag version that did not exhibit the issue (if applicable): N/A
  • which storage system you choose at install (SQLite, MySQL/MariaDB or PostgreSQL): MySQL

Steps to reproduce/test case

  • git clone https://github.com/wallabag/wallabag.git
  • cd wallabag
  • git checkout 2.0.0-beta.1
  • SYMFONY_ENV=prod composer install --no-dev -o
  • Set pdo_mysql for database_driver parameter
  • Set a name of an inexistent database for database_name
@nicosomb nicosomb added the Bug label Mar 8, 2016
@nicosomb nicosomb added this to the 2.0.0-beta.2 milestone Mar 8, 2016
@captainwasabi
Copy link

I added the line in apt/config/config.yml and I still get the same error when trying to set up beta 2

Workaround: create wallabug database in mysql

@nicosomb
Copy link
Member Author

Fixed by #1903.

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

2 participants