Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    mysql password ?

    Support
    mysql
    2
    3
    216
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JOduMonT
      JOduMonT last edited by girish

      Hi;
      I lost few days of password because my synchronisation messed with my keepass file
      anyway where I could find the password for mysql so I could reset my admin password

      since this is not working
      @RichardJActon said in No 'resetToken' for admin password reset:

      I tried the appropriate version of https://my.example.com/api/v1/session/password/reset.html?reset_token=<token>&email=<email> for my instance with a blank token string in case the token was just an empty string and got:

      and that
      mysql -uroot -ppassword -e "select username, email, resetToken from box.users";

      don't work with the password I found in /etc/mysql/debian.cnf

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        @JOduMonT mysql -uroot -ppassword -e "select username, email, resetToken from box.users"; is as-is. Meaning the password is 'password' and not the one in /etc/mysql/debian.cnf. The server only listens on localhost and is not accessible by any of the apps, so the password is not a problem.

        JOduMonT 1 Reply Last reply Reply Quote 0
        • JOduMonT
          JOduMonT @girish last edited by

          @girish said in mysql password ?:

          The server only listens on localhost

          I tried as root on the ubuntu (not inside a container)
          this time it work, it must be the fault of cornavirus 🦇

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB