If you want to connect to the MySQL database, you can do it in the following way:
How to create database and user
If you are creating a special script that, among other things, works with the database, we will use the following example:
| Username = aca1337 | Database Name = wrdp1 |
| Database-Username = wp1 | Database-User Password = eHTb7%Pxa9 |
$con = mysqli_connect("localhost","aca1337"," eHTb7%Pxa9 "," wrdp1 ");
if (mysqli_connect_errno())
{
echo "Connection failed: " . mysqli_connect_error();
}
Of course, if you use wordpress during installation, it is set right at the beginning, so there is no need for this.

