alan345 opened a new issue #18719:
URL: https://github.com/apache/superset/issues/18719


   cannot connect to Mysql Database when DATABASE NAME contains @
   
   When you create a new database: 
   databaseview => + Database
   
   ### Expected results
   
   Connect successfully to the databse
   
   ### Actual results
   
   I got his error `Unknown MySQL server host "prod".` on the field HOST
   If i remove the `@` just to check the behavior, the error is now legit on 
the DATABASE NAME as this database name doesn't exist.
   The database is called `nacho@prod`
   
   
   #### Screenshots
   
   <img width="501" alt="image" 
src="https://user-images.githubusercontent.com/15246526/153905773-b0651860-423b-4190-8352-eac525367016.png";>
   <img width="501" alt="image" 
src="https://user-images.githubusercontent.com/15246526/153905829-c6c3f6cd-2bba-4fde-b057-50a2092385cc.png";>
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Chrome
   - superset version: 0.5.8
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [X ] I have checked the superset logs for python stacktraces and included 
it here as text if there are 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.
   
   
   


-- 
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]

Reply via email to