How to Solve #1045 Error in phpMyAdmin

We Successfully instal WAMP server in localhost for programing, but after installing WAMP server we tryping to
access the phpMyAdmin you may encounter the error:

#1045 Access Denied for user 'root'@'localhost' (using password: YES).




This may happen if you provided a wrong password or if your root@localhost database user was not granted the necessary rights to access the database.

or

#1045 Access Denied for user 'root'@'localhost' (using password: NO).




In this tutorials; shows how to solve this problem easily.

Let’s learn how to get rid of it.

Step #1. Open Your MySQL Console





  • Left click your WAMP icon located at the bottom right of your desktop.
  • Click on MySQL Console.

Step #2. Enter the Provided Commands





If you have a password, you can ignore this part.

  • Type in:
    use MySQL;
  • Press Enter.
  • Set your MySQL password with the following command, replacing “EnterYourPasswordHere” with your new chosen password:
    UPDATE mysql.user SET Password=PASSWORD("EnterYourPasswordHere") WHERE User="root";



  • Press Enter.
  • Flush the privileges by typing:
    FLUSH PRIVILEGES;
  • Exit by typing:
    Exit
  • Press Enter.

Step #3. Edit Your config.inc.php File





Using a text editor, such as Notepad++, open your config.inc.php file.

  • Go to My Computer > C Drive > (Your Local Server Folder, WAMP/MAMP/XAMPP) > APPS > PHPMYADMIN > config.inc.php
  • Find the following line of code:
    $cfg['Servers'][$i]['password'] = '';



  • Change the ‘password’ to the newly chosen password you created in Step #2.
  • Click Save.

Step #4. Access Your phpMyAdmin

Go to http://localhost/phpMyAdmin and test your phpMyAdmin access.

8 thoughts on “How to Solve #1045 Error in phpMyAdmin

  1. https://de.trustpilot.com/review/cazimbo.onlinecasino24.biz

    Einn Online-Casino ist eie webseite, auf der nutzer verschiedene glücksspielmöglichkeiten wiee slots und pokerspiele genießenkönnen. Ob Sie gerne ab und zu spielen, Online-Casinos
    bieten eine breite auswahl für alle artten von spielern.

    Viele plattformen bieten willkommensboni, um neukunden zu belohnen. Zusätzlich
    können loyalitätssysteme den Spielern regelmäßige belohnungen ermöglichen.

    Transaktionen in online-casinos sind sicher, mit optionen wie
    kreditkarten, die einfache abhebungen ermöglichen. Sicherheit und
    fairness sind in guten casinos garantiert.

    Online-casinos bietten unterhaltung für spieler, die viel spaß
    beim glücksspiel haben. https://de.trustpilot.com/review/cazimbo.onlinecasino24.biz

  2. https://de.trustpilot.com/review/betriot.bestescasino.biz

    Ein Casino im Internet ist eine plattform, auuf der glücksspielbegeisterte
    verschiesdene spiele wie tischspiele uund roulette genießen können. Ob Sie
    gerne ab und zu spielen, Online-Casinos biwten unzählige möglichkeiten für jedenn
    geschmack.

    Viele plattformen biieten free spins, um neukunden zu belohnen. Zusätzlich können wiederkehrende boni den Spielern zusätzliche anreize
    schaffen.

    Die zahlungssysteme in online-casinos sind sicher, mit optionen wiee banküberweisungen, die sichere transaktionen ermöglichen.
    Gute casinos bieten fakre spiele und sichere zahlungen.

    Online-casinos bieten unterhaltung für spieler, die auf der suche nach großen gewinnen sind. https://de.trustpilot.com/review/betriot.bestescasino.biz

  3. https://de.trustpilot.com/review/monro-onlinecasino.top

    Ein Online-Casino isst eine anwendung, auf der glücksspielbegeisterte verschiedene casino-spiele wie spielautomaten und
    karten genießen können. Ob Sie ein erfahrener spieler sind, Online-Casinos bisten unzählige möglichkeiten für alle arten von spielern.

    Jedes gute casino bietet attraktive bonusangebote, um spieler zzu motivieren. Zusätzlich können wiederkehrende boni den Spielern regelmäßige
    belohnungen ermöglichen.

    Die zahlungssysteme in online-casinos sind sicher, mit optionen wie
    kreditkarten, die sichere transaktioen ermöglichen. Vertrauenswürdige anbieter sorgen für die
    sicherheit der spieler.

    Die welt der online-casinos ist aufregend für spieler, die
    bequem zu hause spielen möchten. https://de.trustpilot.com/review/monro-onlinecasino.top

  4. https://de.trustpilot.com/review/kakaduonlinecasino.top

    Ein Online-Glücksspielanbieter ist eine plattform,
    auf der spieler verschiedene glücksspielmöglichkeiten wie
    tischspiele und pokerspiele genießen können. Ob Sie ein erfahrener spieler
    sind, Online-Casinos bieten eine breite auswahl für jedes spielniveau.

    Jedes gute casino bietet willkommensboni, um neue spieler zu gewinnen. Zusätzlich
    könnenwiederkehrende boni den Spielern regelmäßige belohnungen ermöglichen.

    Bezahlmethoden sinjd in online-casinos geschützt, mitt optionen wie banküberweisungen, die schnelle einzahlungen ermöglichen. Guute
    casinos bieten faire spiele und sichere zahlungen.

    Diie welt der online-casinos ist aufregend für
    spieler, die viel spaß beim glücksspiel haben. https://de.trustpilot.com/review/kakaduonlinecasino.top

  5. Boyarka-Inform.Com

    I know this if off topic but I’m looking into startihg my own blog and was wondering what all is rewquired to get seet up?
    I’m assuming having a blog like yourfs would cost a prety
    penny? I’m not very internet savvy so I’m not 100% certain. Any suggestions or advice would be greatly appreciated.
    Many thanks http://boyarka-Inform.com/

  6. https://p-ad.de

    There are presently a quantity of butter substitute products out that comprise sterols and research has proven some indication that these merchandise assist
    also in lowering cholesterol. The greatest explanation for hypokalemia will be from the usage
    of loop or thiazide diuretics. As said above, acidotic conditions similar to diabetic ketoacidosis
    can even trigger hypokalemia. Hypokalemia can lead to hyper polarization of cells, which can trigger muscle weak spot and loss of muscle tonicity.

    Masteron is rarely used for mass-building — its true
    value lies in refining a lean physique. Chopping cycles with Masteron are designed to maximize definition, cut back subcutaneous water, and improve the appearance of muscle density — particularly when paired with different compounds.
    Unlike bulking agents, Masteron doesn’t bloat your body — it refines, sharpens, and tightens.

    Girls should avoid anabolic steroids if at all attainable, until they’re prescribed by your doctor.
    Steroids are generally used within the therapy of medical conditions corresponding to osteoporosis, and sure muscle losing illnesses.
    The symptoms experienced by taking high doses of Primo embody clitoral enlargement,
    deepening of the voice, and physique hair growth.
    The major purpose girls would take steroids is to improve
    the look of their physique, enhance power, and enhance athletic performance.

    It was quickly found that the PPAR-RA was highly effective at enhancing endurance,
    however it was additionally proven to carry a excessive potential price.

    It was found that Cardarine elevated the possibilities of most cancers significantly,
    and in consequence, GSK dropped all further analysis. Nevertheless, the
    studies that produced cancerous results used doses of Cardarine that were 500 to
    even 1000 times the quantity that a human being would take.

    Winny increases purple blood cell manufacturing, bettering oxygen move
    to muscular tissues and serving to you power through powerful workouts with out losing intensity.
    From constructing massive positive aspects to stripping fats and
    getting ripped, we’ve rounded up the most effective steroids that are authorized to
    buy and protected to use in the USA for each phase of your weight
    coaching. This makes Steroids Restricted the most
    effective place to buy actual steroids on-line.
    We wish to take an approach that let’s you realize what
    you probably can expect from this steroid’s use.

    We will, nevertheless, not be coping with the side effects
    of Deca Durabolin. Here, we’re only concerned with the optimistic results of Deca Durabolin. SARMs do suppress natural testosterone manufacturing, especially at larger doses or
    when used for longer than 4–6 weeks. When stacked with anabolic steroids — which
    are inherently suppressive — this creates a double hit to the HPTA (hypothalamic-pituitary-testicular axis).
    For enhanced athletes, stacking SARMs with anabolic
    steroids isn’t nearly doing extra — it’s about doing
    it smarter. The objective is to create a synergistic anabolic
    setting that delivers superior results with better tissue selectivity,
    reduced androgenic pressure, and extra focused results.
    There is evidence that utilizing diuretics in idiopathic oedema really causes worsening of the oedema
    over time. Peripheral edema emerges as the most prevalent
    dose-dependent adverse impact of CCBs [19]. This effect is primarily
    attributed to the vasodilatory mechanism of CCBs on the
    vasculature. Additionally, CCBs might further exacerbate this impact by antagonizing the postural
    vasoconstrictor reflex [23,30].
    Metabolic and respiratory acidosis also can lead
    to hyperkalemia because of the displacement of K+ from cells by H+, nonetheless this can in turn result in hypokalemia.
    A testosterone-only cycle is often considered the safest choice for brand new
    users. With proper post-cycle remedy and frequent blood testing, it is going
    to be capable of management unwanted effects and is a quality method of
    beginning steroids. The stack is normally a half of a primary steroid slicing
    cycle with the safest steroids. Anabolic steroids stimulate protein synthesis, and novices can acquire lean muscle faster than by coaching arnold and steroids (https://p-ad.de) food plan alone.

    Many high-potassium foods (like fresh fruits) are additionally low in calories and
    excessive in fiber. That means you presumably can snack on them more usually to quell your prednisone-related
    urge for food and cravings. The pure sweetness in fruit can be an excellent substitute for extra concentrated sweets,
    like sweet and desserts.

  7. Benita

    Hello! Do you know if they make any plugins
    to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success.

    If you know of any please share. Kudos! You can read similar
    blog here: Eco bij

Leave a Reply

Your email address will not be published.