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

Database table 'domains' doesn't exist #4

Open
zetbee opened this issue Nov 22, 2017 · 1 comment
Open

Database table 'domains' doesn't exist #4

zetbee opened this issue Nov 22, 2017 · 1 comment

Comments

@zetbee
Copy link

zetbee commented Nov 22, 2017

Hi,

I'm trying to select a domain for management in WebAdmin. I have created a location - but when I'm trying to pick up a domain I'm getting:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'a0001.domain' doesn't exist

I've created a0001 DB and configured it - but when I'm looking at it - it's actually missing 'domain' table. Can I ask what should I do to get it in the DB? What's the structure for this particular table?

Any help would be appreciated.

--
Best regards
Zbigniew

@gdimakop
Copy link

Hi, there are two databases: 'a0001' which is an administrative DB for managing email server admins, and dovecot/postfix DB for email server's virtual users and domains called 'mailserver' (for example). WebAdmin connects to 'mailserver' DB via connection string configured in config/app.php (found in WebAdmin). Ensure that app.php connects to 'mailserver' DB via the correct datasource in app.php. Note that the datasource name in app.php should be the same with the one you defined in the corresponding field under Manage -> Locations in WedAdmin environment.

Also check for details:
http://www.sophimail.com/configure-freebsd-email-server-using-postfix-dovecot-mysql-spamassassin/

KR,
George

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

2 participants