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

cant use another database name #139

Closed
radum706 opened this issue May 30, 2015 · 2 comments
Closed

cant use another database name #139

radum706 opened this issue May 30, 2015 · 2 comments

Comments

@radum706
Copy link

hello. i just installed vimbadmin on my server using other name for database (mysql) than vimbadmin, so i got an error installing database. it was creating only first table (domain_admins) and that was all. i used even the fix for that, but i did got same result. after renaming my db as vimbadmin and redo install db step, i managed to install it. tested and worked well. i tried renaming the database to something els, changing settings and i got back to same error:

File
/var/www/vimbadmin/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
Line
53
Message
An exception occurred while executing 'SELECT COUNT(a0_.id) AS sclr_0 FROM vimbadmin.admin a0_': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vimbadmin.admin' doesn't exist
Code
0
i tough it was a permission thing or something but after looking closely to that error i saw that it was searching for admin table in vimbadmin database. so, somewhere your script it's not using configured db name (from config file, ofc) but it go's back to vimbadmin.

P.S.: great project, thank you!

@mfechner
Copy link
Contributor

If you like you can try my fork, there is this bug fixed and some additional features are added:
https://github.com/idefix6/ViMbAdmin

@barryo barryo closed this as completed in 4e07b1f May 31, 2015
@barryo
Copy link
Member

barryo commented May 31, 2015

Just fixed with a new version tagged - 3.0.12.

Thanks!

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

No branches or pull requests

3 participants