phpMyAdmin reports 'No Privileges'

前端 未结 6 845
走了就别回头了
走了就别回头了 2021-01-17 12:36

Long story short, I ended up deleting the root user from PHPMyAdmin in EasyPHP. After some researching, I used skip-grant-tables to regain database access. Now, however, I

6条回答
  •  攒了一身酷
    2021-01-17 13:35

    If your machine has IPv6 enabled, "localhost" will resolve to ::1, rather than 127.0.0.1. This can cause issues.

    Try connecting to "127.0.0.1" rather than "localhost". That ought to force mysql to authenticate by IPv4 address, so make sure 127.0.0.1 is in there.

    Alternatively, if you have admin access, you can map localhost back to 127.0.0.1 in c:\Windows\System32\Drivers\etc\hosts.

提交回复
热议问题