The red error in your screenshot, that you also mentioned in your error code, is the real problem. The blueish messages are just deprecation notices which won't affect the behavior of your system.
The message Access denied for user 'root'@'localhost' (using password: NO)
is very speaking already. You try to connect to your database as root
user without a password
, which your database does not allow.
So, you have a few options:
Create and configure a root
password. You can find a laragon-specific walkthrough here.
Even better, if suitable for you: Create a specific user (not root
) and password for your application and use this one.
Make your database allow password-less root connections. See here for how this can be achieved. Note: Mostly, this is a serious security issue. Please be sure to know, what you are doing and never do something like this in productive / internet accessible systems!