728x90

📚 MYSQL 프로시저 실행 오류 메시지
User does not have access to metadata required to determine stored procedure parameter types.
If rights can not be granted, configure connection with "noAccessToProcedureBodies=true"
to have driver generate parameters that represent INOUT strings irregardless of actual
parameter types.
📚 에러 원인
MYSQL 5.7 버전 이후로 프로시저실행을 할때 데이터 베이스에서 테이블, 컬럼명, 컬럼타입,
프로시저등 메타데이터(metadata)에 대한 권한이 없을때 발생한다.
📚해결방안1
🧨 mysql.proc 테이블에 접근 권한 부여
🧨 admin1, 127.0.0.1등 개발 환경에 맞게 변경
🧨GRANT SELECT ON mysql.proc TO 'admin1'@'127.0.0.1';
📚해결방안2
🧨AS-IS)
jdbc:log4jdbc:sqlserver://DB아이피:포트
🧨TO-BE)
jdbc:log4jdbc:sqlserver://DB아이피:포트?noAccessToProcedureBodies=true
728x90
'🩷02_DataBase > 01_SQL( Structured Query Language)' 카테고리의 다른 글
#The connection attempt failed: #java.io.EOFException #EOFException #DB접속에러 #권한문제 (0) | 2024.03.04 |
---|---|
#Mysql #DB 명세서 #추출 #쿼리 #엑셀매크로포함 (1) | 2024.02.13 |
#mysql #int #int(11) #tinyint(4) #tinyint(N) #int(N) #N값에대한정의 (0) | 2022.12.12 |
ORACLE 오라클 TIMESTAMP 데이터 임시테이블 조회 (0) | 2022.12.12 |
MYSQL 상태값 및 정보 확인 명령어 모음 (0) | 2022.12.12 |
댓글