1stsql

SQL

1
2
3
4
5
6
7
8
9
10
11
CREATE TABLE mysty{
sid char(10) primary key,
sname char(20) not null,
ssfzh char(18) unique,



alter table mystu add sphone char(9)
alter table mystu add constraint chk_phone
check(sphone like '([])')
}

뭐 대충 이런거 하고 있었는데 수업시간이 끝나기 20분 전에 교수님께서 上机练习하라고 하시는데 자꾸 zsh terminal shell 이나 navicat이나 잘 안돼서 멘붕이 와서 막 다시 깔고 난리가 났었다.

결국 이 글 을 참조해 문제를 해결할 수 있었다.

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)

오류가 발생해서

config.inc.php 파일에서 $cfg[‘Servers’][$i][‘password’] = 부분의 뒷부분에 mysql 비밀번호를 입력해뒀더니 연결에 성공했다.

glaemfdjTdjtktlf

Donate
  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2020 GwenChanEn
  • Visitors: | Views:

Do you like my writing? Would you coffee me?

支付宝
微信