Note that there are some explanatory texts on larger screens.

plurals
  1. POXAMPP Upgrade - Error #1045 on Creating New User
    primarykey
    data
    text
    <p>I'm trying to upgrade my <strong>XAMPP</strong> from <strong>1.7.3</strong> to <strong>1.7.4</strong> (<em>xampp-win32-1.7.4-VC6-installer.exe</em>). I had already backed up the <strong>htdocs</strong> &amp; <strong>mysql/data</strong> folders. I uninstalled XAMPP &amp; deleted the remaining content <em>(to avoid the incomplete uninstall problem I had earlier)</em>. I then installed XAMPP 1.7.4. Everything worked fine. I'm able to add new user with all privileges granted. But when I copied the backed-up folders to their respective places, I can no longer grant privileges to new users. I get this error message:</p> <pre><code>ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO) </code></pre> <p>I had tried many solutions that the web can offer, including resetting the password, but nothing seems to work. In fact, after resetting the password, and other modifications I tried related to that, I get "<strong>Cannot connect: invalid settings</strong>" error message when accessing <strong>phpmyadmin</strong>, the server rejected the connection.</p> <p>This happened after I copied the backed-up <strong>mysql/data/mysql</strong> folder. Specifically, I think it's the <strong>user.*</strong> files from that folder that trigger the problem. But if I didn't copy those files or revert them with the original files, my backed-up <strong>users</strong> cannot be accessed in that I get "<strong>Error establishing a database connection</strong>" when opening my site, but I can create new user and grant it privileges again.</p> <p>What is in the <strong>user.*</strong> files that's causing the problem? And how can I fix this?</p> <hr> <blockquote> <p><strong>UPDATE :</strong></p> <p>Further research shows that the <strong>1.7.4</strong> version is actually very <strong>VERY</strong> buggy... <a href="http://www.apachefriends.org/f/viewtopic.php?f=16&amp;t=44327" rel="nofollow">http://www.apachefriends.org/f/viewtopic.php?f=16&amp;t=44327</a></p> <p>So the question now is: <strong>Is it worth upgrading?</strong></p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload