Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- jquery serialize
- Drools Fusion
- java tip
- querydsl
- jquery
- Hudson
- JBoss Seam
- spring transaction
- bootstrap jquery datepicker
- gwt
- SVN
- COC
- zabbix
- spring security
- guvnor
- MySQL
- jstl
- GEventEvaluator
- gwt-ext
- JPA
- custom filter
- jenkins
- rember me
- @SqlResultSetMapping
- ibatis
- spring jpa
- maven
- Spring
- CEP
- drools
Archives
- Today
- Total
봉 블로그
mysql tip 본문
매뉴얼 : http://dev.mysql.com/doc/refman/5.1/en/index.html
[콘솔 로그인]
shell> mysql --user=root mysql
[계정추가]
중요: 계정@IP주소로 등록해야함. 그리고, xp경우 방화벽에 3306 포트도 추가해줘야 외부에서 접속할수 있음.
mysql> CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost'
-> WITH GRANT OPTION;
mysql> CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%'
-> WITH GRANT OPTION;
mysql> CREATE USER 'admin'@'localhost';
mysql> GRANT RELOAD,PROCESS ON *.* TO 'admin'@'localhost';
mysql> CREATE USER 'dummy'@'localhost';