看板 Database 關於我們 聯絡資訊
如題,想請問高手,如果我在root的帳號底下, 想要修改其他使用者的密碼,這樣指令應該如何下達? use mysql; UPDATE user SET password=password('新密碼') where user='欲修改的帳號';  FLUSH PRIVILEGES; 我是這樣下達指令的,可是卻沒辦法修改成功。 請問問題出在哪裡呢? 錯誤 SQL 語法:   FLUSH PRIVILEGES ; MySQL 傳回: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '  FLUSH PRIVILEGES' at line 1 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.45.148.179
justoncetime:show mysql version, error message and true statme 03/23 13:46
※ 編輯: sunnyboy1030 來自: 114.45.148.179 (03/23 14:12)
justoncetime:錯誤訊息指出是FLUSH PRIVILEGES的問題,看起來OK 03/23 18:55