52AV璈A|52AV.ONE

 曉撖蝣
 蝡唾酉
敹急瑕
  • av隢憯BBS
  • 璈A
  • 芣瑟憭瘚
  • 鞎澆
  • 52av鋆貉摰
  • 銝剜-銝剖銝餅
Yahoo!憟拇撠
望: 璈A
Google憟拇撠
望: 璈A
     
亦: 3124|敺: 0
銝銝銝駁 銝銝銝駁

[mysql] MySql 啣雿輻刻閮剖甈

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-6-23 08:29:20 | 芰閰脖 撣 |摨閬 |梯璅∪
雿輻 root 脣 MySQL
. Q4 U! D" N' c4 S
' U  v" G/ z( B+ o! o7 G
  1. mysql -u root -p
銴鋆賭誨蝣
7 f9 q3 H) Y0 H( M
- a% ^- v9 x% Q  ^* r) V
乩靘啣銝雿輻刻 user1, 撖蝣潸身摰 user1pwd, 銝虫蝯虫鞈摨怎甈
' @! k; t# A7 ]8 {" h# \. ^
  1. use mysql;
    # M  \3 V: Q1 e" s8 x, R$ y

  2. * E% ^! \4 `% M8 s' Y
  3. INSERT INTO user(host,user,password) VALUES('%','user1',password('user1pwd'));
銴鋆賭誨蝣

6 U% K1 P1 D+ f* P憒閬蝯虫雿輻刻孵鞈摨怎鈭雿甈嚗' z) M/ e/ A# d  M& K: K
  1. GRANT SELECT,INSERT,UPDATE,DELETE,CREATE ON dbname.* TO 'user1'@localhost IDENTIFIED BY 'user1pwd';
銴鋆賭誨蝣
( I0 R4 P. p; [3 B
蝯虫雿輻刻孵鞈摨怎雿甈嚗
  1. GRANT all ON dbname.* TO 'user1'@localhost IDENTIFIED BY 'user1pwd';
    , n) f) b+ r3 |: H: h5 j! V. i% z( D
銴鋆賭誨蝣
1 G- V: G% t, L
蝯虫雿輻刻鞈摨怎雿甈嚗: u2 T; Y+ w" t" Q4 q
  1. GRANT all ON *.* TO 'user1'@localhost IDENTIFIED BY 'user1pwd';
銴鋆賭誨蝣
憪:
  1. FLUSH PRIVILEGES;
銴鋆賭誨蝣

0 F# F9 ^9 Y7 u4 u) ^
' ]9 P0 a% Q4 x4 A

雿輻券

祉蝛閬

BT蝳

砍憛批捆靘餉衣雯頝臬批捆蝝颲行粹嗥蝬脩嚗摰撟湔遛嚗嚗甇脖誑銝嗅啣摰嗆摰撟湧翩鈭箏ㄚ孵舫脣伐銝憿亙祉璇甈橘芣遛18甇 雓蝯脣亦閬賬粹脩芣遛18甇脖芣撟渡雯閬賜雯頝臭嗥批捆鞈閮嚗撱箄降典舫脰蝬脰楝批捆蝝蝯蝜ICRA蝝摰鋆閮剖 (粹蝯行霅 祉蝬脣銝蝝瘛函隢憯啣嚗祉閮剜蝞∠)

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-21 19:35 , Processed in 0.060837 second(s), 16 queries .

蝯∠.撱

52avtv@gmail.com | QQ:2405733034     since 2015-01

鋆貉憒 敹恍敺 餈銵