반응형
컴파일시
warning: #warning This file should not be included by clients, include only <mysql.h>
와 같은 오류가 생기는 경우
Makefile
CFLAGS 에 -I/usr/include/mysql/server 를 설정
mysql.h 파일이 2군데 생성되어서 생기는 문제임
반응형
'Mysql,MariaDB' 카테고리의 다른 글
MySQL Data directory 변경하기 (0) | 2019.02.13 |
---|---|
AES_ENCRYPT / AES_DECRYPT (암복호화) (0) | 2019.02.12 |
Slow Query log (슬로우 쿼리 로그) (0) | 2019.02.08 |
날짜 함수 date_format (0) | 2019.02.08 |
시간차 계산하는 방법(mysql time) (0) | 2019.02.01 |