MySQL1 MySQL MySQL 실행 방법 1) 명령 프롬프트(cmd) 실행2) mysql -u root -p3) Enter password: 비밀번호 입력 명령어 데이터베이스 목록 확인 show databases;데이터베이스 사용use db명;데이터베이스 생성 create database db명; 데이터베이스 삭제 drop database db명; 테이블 목록 확인 show tables; 테이블 구조 확인 desc 테이블명;상세 테이블 구조 확인 show create table 테이블명;현재 날짜/시간 확인 >> 년-월-일 시:분:초 select now () from dual; select sysdate() from dual;select current_timestamp() from dual; 데.. 2024. 4. 6. 이전 1 다음