NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Floating_Wombat's avatar
Apr 19, 2020

mySQL & phpMyAdmin on ReadyNAS-214

Please can someone help - I have installed mySQL and phpMyAdmin - all was well until I tried to set a password for "root" using phpMyAdmin as I was uncomfortable with using no password for the account. 

 

Problem is that in now get "#1045 Cannot log in to the MySQL server" - which indicates an authentication error. I cannot get into mySQL now. Please can someone explain how to either reset the mySQL password or delete the data for the database and reinitialise it. 

 

I have tried to remove and reinstall both applications but the problem persists. 

 

Thanks

Wom

 

7 Replies

Replies have been turned off for this discussion
    • StephenB's avatar
      StephenB
      Guru - Experienced User

      Floating_Wombat wrote:

      As an aside - a factory reset is not an option as I have 4TB of data on the server

       


      If you are saying you have no backup, then I'd suggest that you reconsider that choice.  A 5 TB USB drive costs about $120 USD, so it is certainly possible to back up your NAS.  Compare the cost of backup against data recovery, and it becomes clear pretty quickly that backup is cheaper (and far more likely to be successful than data recovery).

       


      Floating_Wombat wrote:

      Please can someone help - I have installed mySQL and phpMyAdmin - all was well until I tried to set a password for "root" using phpMyAdmin as I was uncomfortable with using no password for the account. 

       

      Problem is that in now get "#1045 Cannot log in to the MySQL server" - which indicates an authentication error. I cannot get into mySQL now. Please can someone explain how to either reset the mySQL password or delete the data for the database and reinitialise it. 

       

      I have tried to remove and reinstall both applications but the problem persists. 


      Do you have ssh access to the NAS?

       

      I don't use these applications on my own NAS, but the database itself should be in /apps.  If you access the full data volume using SMB (which requires NAS admin credentials), you should find in in \data\.apps (which is mounted as /apps when you access the NAS with ssh).

       

      • Floating_Wombat's avatar
        Floating_Wombat
        Aspirant

        I am looking at backup solutions - but given the lag on getting goodies.....

        I can get SSH access so will try the route of deleting the database

         

        Wom

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More