New database user and db fails

Problems with the Windows version of XAMPP, questions, comments, and anything related.

New database user and db fails

Postby finelock » 11. August 2018 15:42

Good afternoon team, I have a problem where I have created a database, and a user with passwd, the only problem is when I try to connect to it
it fails, :-
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'finder'@'localhost' (using password: YES) in D:\xampp\htdocs\finder\install\index.php on line 48
Error: Unable to connect to mysql server.

I have mad sure all is upper case, have selected all priv's

If I put the script on a cpanel server everything works, but not on xampp, now I am fully aware most of you uses root and no password
but I dont want to...

Any pointers would be grateful, seems a shame to scrap xampp and stay with a real server... it must be something silly I am doing

All the best from Alan
finelock
 
Posts: 2
Joined: 11. August 2018 15:33
XAMPP version: 3.2.2
Operating System: Windows 10 home

Re: New database user and db fails

Postby finelock » 13. August 2018 12:24

Fixed...
finelock
 
Posts: 2
Joined: 11. August 2018 15:33
XAMPP version: 3.2.2
Operating System: Windows 10 home

Re: New database user and db fails

Postby Altrea » 14. August 2018 06:35

What was the issue and how did you fix this?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9335
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 29 guests