YamPiz Servies
       
       
      Share
       
      Forum

      Yampiz Forum

      Sharing let knowledge Spreaded, Reading let spirits growth, Creative let culture extended, Let us
      • 禁止廣告文
      • 知識傳播
      • 閱讀
      • 心靈成長
      • 創作
      • 文化傳承
      New Subject
      Random
      Previous
      Next
      |
      重設密碼

      先停止 MySQL,再以參數 --skip-grant-tables 啟動mysql

      # bin/mysqld_safe --skip-grant-tables&

      連線到 MySQL Server:

      # bin/mysql mysql
      跳出 mysql>

      mysql> UPDATE mysql.user SET Password=PASSWORD('這裡輸入你要的新密碼')
      -> WHERE User='root';
      mysql> FLUSH PRIVILEGES;
      mysql> exit

      '這裡輸入你要的新密碼' 即是你要改的新密碼

      測試是否成功

      # ./bin/mysqladmin -u root -p shutdown

      Enter password: 輸入新更改後的密碼

      如果mysql關閉 就是ok了
      • Keywords : mysql, 新密碼, 輸入, tables, grant, MySQL, 連線到, 輸入新, 跳出, 要改, 測試, 改後, 密碼, 啟動mysql, 否成功, 再以參數, 先停止, shutdown, password, mysql關閉
      0 0
      2009-01-21T09:05:50+0000


      • Now, you can post comments by Facebook Account when your Yampiz account was logout or unvariable. whatever, we suggest to post comment by Yampiz Account to get more bounds to join new events of Heyxu
      Comment
       
      Verify

      Facebook Page

      QR-Code and APP Launcher

      User Guide
      This Webpage

      In those service tabs, "Scan QRCode, in mobile device" or "Click the button, in this device" to open webpage or APP-related operations.
      QRCode
      • Auto Platform
        For better browsing experience, it will auto detects your device to display webpage.
      • Bug Report
        Tell us about the idea, problem and errors you found.
      • Comodo Secure
        The sensitive data transmission adopts by SSL-2048 authenticated encryption.
      • Copyright
        © 2009 YamPiz Digital Inc. & Jaby Group. All rights reserved.
      • Revised Version
        V2.2.207
        06 Jan 2025 (GMT+8)