'How can I find out, check and change my $db_host, user, pass, name in mysql workbench?

$db_host = "";
$db_user = "";
$db_pass = "";
$db_name = "";

I have to fill out these, so I wanted to check but I used 'ampps' to install mysql. so I couldn't find info in my database.

where should I check in below pic? mysql wrokbench wrokbench2



Solution 1:[1]

Detault mysql login credentials in AMPPS are : Username : root Pass : mysql

You can create a new database using phpMyAdmin : http://localhost/phpmyadmin/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Brijesh Kothari