Access denied for user 'root@localhost' (using password:NO)

前端 未结 16 1033
萌比男神i
萌比男神i 2020-11-22 15:30

I\'m new to MySQL, I\'m trying to run WordPress in my Windows desktop and it needs MySQL.

I install everything with Web Platform Installer which is prov

16条回答
  •  悲&欢浪女
    2020-11-22 15:40

    if you changed the port to non standard one, then you need to specify it:

    $connection = mysqli_connect('localhost:3308', 'root', '', 'loginapp');

提交回复
热议问题