Make sure these boxes are checked before submitting your issue - thank you!

- [x ] I have checked the superset logs for python stacktraces and included it 
here as text if any
- [ x] I have reproduced the issue with at least the latest released version of 
superset
- [x ] I have checked the issue tracker for the same issue and I haven't found 
one similar

After installing superset and going to 
`http://localhost:8088/databaseview/list/` I see this error:
In Mysql, I have these tables:
- ab_permission
- ab_permission_view
- ab_permission_view_role
- ab_register_user
- ag_role
- ab_user
- ab_user_role
- ab_view_menu

```
ProgrammingError: (_mysql_exceptions.ProgrammingError) (1146, "Table 'olap.dbs' 
doesn't exist") [SQL: u'SELECT count(%s) AS count_1 \nFROM dbs'] [parameters: 
('*',)] (Background on this error at: http://sqlalche.me/e/f405)
```

### Superset version
0.27.0, 0.26.3

### Expected results
open the database page

### Actual results
error

### Steps to reproduce
install superset into docker. Dockerfile:
```
FROM ubuntu:16.04

RUN apt-get update && apt-get install -y build-essential libssl-dev libffi-dev 
python3.5-dev python-pip libsasl2-dev libldap2-dev libmysqlclient-dev

RUN pip install --upgrade setuptools pip

RUN pip install superset
RUN pip install mysqlclient

WORKDIR /app
```

Connect to the container and setup superset:
```
fabmanager create-admin --app superset
superset db upgrade
superset init
```

Set db connection string in superset_config.py which is in the container root 
(other values as in the example in the docs):
```
SQLALCHEMY_DATABASE_URI = 'mysql://root:@olapdb/olap'
```

Run the docker container with `PYTHONPATH=. superset runserver -d`

[ Full content available at: 
https://github.com/apache/incubator-superset/issues/5751 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to