wilson's story

terminal에서 DB접속, 패스워드 특수문자 본문

Linux

terminal에서 DB접속, 패스워드 특수문자

wilson 2022. 11. 14. 15:40
반응형
mysql+pymysql://user:password@host:port/dbname

예) 패스워드에 @가 있을 다면 아스키코드(%40)로 변환해서 적용 

mysql+pymysql://user:123@123@host:port/dbname 

mysql+pymysql://user:123%40123@host:port/dbname



ASCII 코드 목록은 하단 참고

 

참고 : https://www.w3schools.com/tags/ref_urlencode.ASP

 

HTML URL Encoding Reference

W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

www.w3schools.com

 

반응형