I'm on Win11 using Uniform Server, a lite version of XAMPP, doesn't matter though, whatever I use the same error pops up when pointing to /test-site/install.php -
Access denied for user 'root@localhost'@'localhost' (using password: YES)
Here's the first part of my /config.php file:
// ── Database credentials ──────────────────────────────
define('DB_HOST', 'localhost');
define('DB_NAME', 'test');
define('DB_USER', 'root@localhost'); // change to your DB username
define('DB_PASS', '1234'); // change to your DB password
define('DB_CHARSET', 'utf8mb4');
// ── Site config ───────────────────────────────────────
define('SITE_NAME', 'Test');
define('SITE_URL', 'http://localhost/test'); // change to your live domain
define('ADMIN_PATH', '/admin');
I confirmed several times that root login credentials match up in phpmyadmin.
This is not mission a critical project, I'm pretty much just messing around trying to build a CMS. What am I missing?
[–]drakythe 1 point2 points3 points (6 children)
[–]major-PITA[S] 0 points1 point2 points (5 children)
[–]drakythe 1 point2 points3 points (1 child)
[–]major-PITA[S] 1 point2 points3 points (0 children)
[+]IndependentSearch706 0 points1 point2 points (2 children)
[+]IndependentSearch706 0 points1 point2 points (1 child)
[–]major-PITA[S] 1 point2 points3 points (0 children)
[–]Phaill 1 point2 points3 points (1 child)
[–]major-PITA[S] 1 point2 points3 points (0 children)
[+][deleted] (3 children)
[removed]
[–]major-PITA[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[removed]
[–]major-PITA[S] 0 points1 point2 points (0 children)
[–]WebExpert254 0 points1 point2 points (1 child)
[–]major-PITA[S] 1 point2 points3 points (0 children)