title: Cannot reset root password - Windows 10
body: <p>Windows force restarted on me yesterday right after setting up <code>MySQL</code> and <code>popSQL</code>, now, <code>mySQL</code> is telling me my password - that I know is right - is incorrect. I'm trying to reset the root password, but literally none of the guides have worked.</p>
  
  <p>I've tried the official guide here, but I get a couple of errors, it does not reset the name.</p>
  
  <p>The errors are:</p>
  
  <pre><code>C:\Program Files\MySQL\MySQL Server 8.0\bin&gt;mysqld --init-file=C:\\mysql-init.txt
  
  2019-02-19T16:44:49.460933Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.15) starting as process 8864
  
  2019-02-19T16:44:49.464194Z 0 [Warning] [MY-010091] [Server] Can't create test file C:\Program Files\MySQL\MySQL Server 8.0\data\DESKTOP-2DUTV5J.lower-test
  
  2019-02-19T16:44:49.464260Z 0 [Warning] [MY-010091] [Server] Can't create test file C:\Program Files\MySQL\MySQL Server 8.0\data\DESKTOP-2DUTV5J.lower-test
  
  2019-02-19T16:44:49.464399Z 0 [ERROR] [MY-013276] [Server] Failed to set datadir to 'C:\Program Files\MySQL\MySQL Server 8.0\data\' (OS errno: 2 - No such file or directory)
  
  2019-02-19T16:44:49.478891Z 0 [ERROR] [MY-010119] [Server] Aborting
  
  2019-02-19T16:44:49.479009Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.15)  MySQL Community Server - GPL.
  </code></pre>
  
  <p>How can I fix this? I just want to reset my password.</p>
  
  <p>BEFORE THE MOD MARKS THIS AS A DUPLICATE, UNLIKE THE LINKED THREADS, I'M NOT USING PHP, UNIX, XAMPP OR .BATs......... and half the links in that thread are dead. I've tried their solutions, they did not work. It's clear my issue is unique.</p>
  
  <p><a href="https://pastebin.com/ctB8qV98" rel="nofollow noreferrer"><code>I've also included the 'name-installed' log file</code></a></p>