You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/10/29 07:43:44 UTC

[GitHub] [airflow] Nick-0723 opened a new issue #11930: sql_alchemy_conn 中密码含有特殊字符

Nick-0723 opened a new issue #11930:
URL: https://github.com/apache/airflow/issues/11930


   
   <!--
   
   IMPORTANT!!!
   
   PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
   NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
   
   PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
   
   Please complete the next sections or the issue will be closed.
   These questions are the first thing we need to know to understand the context.
   
   -->
   
   **Apache Airflow version**: 1.10.7
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   
   **Environment**: centos 7
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):
   - **Kernel** (e.g. `uname -a`):
   - **Install tools**:
   - **Others**:
   
   **What happened**: sql_alchemy_conn 中 mysql 密码保护特殊字符如'#' '^' '@' 等时,无法与 mysql 认证通过。
   
   [2020-10-29 15:31:51,830] {settings.py:254} INFO - settings.configure_orm(): Using pool settings. pool_size=5, max_overflow=10, pool_recycle=1800, pid=23122
   DB: mysql://airflow:***@xxxx:3306/airflow
   ERROR 1045 (28000): Access denied for user 'airflow'@'xxx' (using password: YES)
   
   **What you expected to happen**: 正确连接
   
   <!-- What do you think went wrong? -->
   
   **How to reproduce it**:
   <!---
   
   As minimally and precisely as possible. Keep in mind we do not have access to your cluster or dags.
   
   If you are using kubernetes, please attempt to recreate the issue using minikube or kind.
   
   ## Install minikube/kind
   
   - Minikube https://minikube.sigs.k8s.io/docs/start/
   - Kind https://kind.sigs.k8s.io/docs/user/quick-start/
   
   If this is a UI bug, please provide a screenshot of the bug or a link to a youtube video of the bug in action
   
   You can include images using the .md style of
   ![alt text](http://url/to/img.png)
   
   To record a screencast, mac users can use QuickTime and then create an unlisted youtube video with the resulting .mov file.
   
   --->
   
   
   **Anything else we need to know**:
   
   <!--
   
   How often does this problem occur? Once? Every time etc?
   
   Any relevant logs to include? Put them here in side a detail tag:
   <details><summary>x.log</summary> lots of stuff </details>
   
   -->
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] auvipy commented on issue #11930: sql_alchemy_conn 中密码含有特殊字符

Posted by GitBox <gi...@apache.org>.
auvipy commented on issue #11930:
URL: https://github.com/apache/airflow/issues/11930#issuecomment-735046864


   can you the user access?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] XD-DENG closed issue #11930: sql_alchemy_conn - password contains special character

Posted by GitBox <gi...@apache.org>.
XD-DENG closed issue #11930:
URL: https://github.com/apache/airflow/issues/11930


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] XD-DENG commented on issue #11930: sql_alchemy_conn 中密码含有特殊字符

Posted by GitBox <gi...@apache.org>.
XD-DENG commented on issue #11930:
URL: https://github.com/apache/airflow/issues/11930#issuecomment-737371845


   @Nick-0723 please report issue in English so that most folks in the community can understand the question.
   
   Regarding your question itself, you need to encode the special characters in the URI. You can refer to this thread https://stackoverflow.com/questions/2401516/system-uri-cant-parse-when-password-or-username-field-contains-a-special-charac . It's 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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] Nick-0723 commented on issue #11930: sql_alchemy_conn 中密码含有特殊字符

Posted by GitBox <gi...@apache.org>.
Nick-0723 commented on issue #11930:
URL: https://github.com/apache/airflow/issues/11930#issuecomment-735048021


   > can you the user access?
   
   airflow even can't start


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org