-
Notifications
You must be signed in to change notification settings - Fork 9
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
AdminerLoginServers.php/sqlite: database definition via # not working #10
Comments
Seems that Adminer needs for SQLite the full path in DB. The following changes worked for me:
|
Mabye this could also be handled just in parseServers() (plural), as the split of path and actual db file is just important for getServerName() - as far as I understand the code:
|
OS: Ubuntu Server 21.04
Adminer version: adminer-4.7.9-1 (Ubuntu package)
Full path of wanted SQLite db:
/var/lib/dbconfig-common/sqlite3/roundcube/roundcube
When defining the database name via a # symbol, then connection does not work. When getting rid of the # symbol then everything works fine.
1. Failure
/etc/adminer/conf.php:
Results internally correctly to:
Connection fails with
Invalid database
. Server name shown isSQLite 3 » /var/lib/dbconfig-common/sqlite3/roundcube/ » Database: roundcube
2. Working
/etc/adminer/conf.php:
Results internally to:
Connection works. Server name shown is
SQLite 3 » Server » Database: /var/lib/dbconfig-common/sqlite3/roundcube/roundcube
.The text was updated successfully, but these errors were encountered: