2308087369 opened a new issue, #34417:
URL: https://github.com/apache/superset/issues/34417
### Bug description
1. **Env**: Python 3.11.13 by conda
sys: Ubuntu 22.04
user: root
2. **Build flow(https://superset.apache.org/docs/installation/pypi)**:
- sudo apt-get install build-essential libssl-dev libffi-dev python3-dev
python3-pip libsasl2-dev libldap2-dev default-libmysqlclient-dev
- pip install apache_superset
- export SUPERSET_SECRET_KEY=< ... > .
- export FLASK_APP=superset
- superset db upgrade
- superset fab create-admin
- superset load_examples
- superset init
- superset run -p 8088 --with-threads --reload --debugger
**Additional:**
- pip install mysqlclient mysql-connector-python
3. **BUG**: When selecting Connect to a Database, neither the optional
database icon nor the drop-down box includes MySQL. Connecting via
<UserName>mysql://:<DBPassword>@<Database Host>/<Database Name> shows
connection failure
4. **Solution**:
'''bash
export LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6
'''
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.11
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [x] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]