저는 데이터베이스와 mysql을 처음 사용합니다.
실행 sudo mysql -u root -p
하고 암호를 입력하면 mysql에 성공적으로 들어갑니다. (저는 Mac 아래에 OS X 10.10
있습니다.)
하지만 데이터베이스를 만들려고했을 때 뭔가 잘못되었습니다.
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 5.6.23 MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
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> create database test
-> exit
->
뭐가 문제 야?
세미콜론이 누락되었을 수 있다고 생각합니다.
create database test;
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다