https://cjh5414.github.io/mysql-create-user/
https://sleepyeyes.tistory.com/32
create user 'userid'@'localhost' identified by 'userpassword';
create user 'userid'@'%' identified by 'userpassword';
select host,user,plugin,authentication_string from mysql.user;
create schema dbname default character set utf8;
show databases;
grant all privileges on dbname.* to 'userid'@'%';
exit
mysql 리스타트
mysql -u userid -p
show databases;
그래도 접속이 안된다 윈도우10 방화벽 설정
https://walkingfox.tistory.com/66
그래도 안된다
https://www.youtube.com/watch?v=p5afjjnM1zY&list=PLVsNizTWUw7HhYtI-4GGmlJ5yxNdwNI_X&index=14
접속 성공
'컴퓨터 > mysql' 카테고리의 다른 글
pyqt5 19강~21강_mysql_curd 리턴제로님 강의정리 (0) | 2020.02.24 |
---|---|
pyqt5 18데이터베이스-테이블생성 (0) | 2020.02.16 |
mysql 설치 (0) | 2020.02.13 |
secure-file-priv (0) | 2019.10.20 |
vba 엑셀 파일 csv 파일로 변환 (0) | 2019.10.20 |