C:\Users\SUN>mysql -V <-명령어 입력
mysql Ver 8.0.27 for Win64 on x86_64 (MySQL Community Server - GPL)
잘 설치됐나 버전 확인하고!
C:\Users\SUN>mysql -u root -p <-명령어 입력
Enter password: **** <-비밀번호 입력
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.27 MySQL Community Server - GPL
Copyright (c) 2000, 2021, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show database;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database' at line 1
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| bank | <-- 넣은 데이터 확인!
| classicmodels |
| information_schema |
| library |
| mysql |
| performance_schema |
| sakila |
| sample |
| sys |
| testdb |
| world |
+--------------------+
11 rows in set (0.05 sec)
mysql>
'IT 관련 공부 > 이것 저것 공부' 카테고리의 다른 글
아이폰 복사 맥북 붙여넣기 - 맥북 복사 아이폰 붙여넣기 진짜 대박 기능! (0) | 2022.10.27 |
---|---|
C언어의 기본구조 (0) | 2022.06.20 |
개발자 도구가 안될 때? (0) | 2022.05.18 |
Word 띄어쓰기 간격 오류 (0) | 2022.05.18 |
[도메인연결]notion 페이지 freenom 무료도메인으로 연결 (0) | 2022.02.22 |
댓글