From no to new password

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

From no to new password

Postby Rykken » 19. February 2012 12:29

I setup my website with no password. Now, when I try to set one I get this error.

Fatal error: SQL ERROR [ mysqli ]
Access denied for user 'root'@'localhost' (using password: NO) [1045]
An sql error occurred while fetching this page. Please contact an administrator if this problem persists. in C:\xampp\htdocs\guild\forums\includes\db\dbal.php on line 707

How do I setup a password without running into this issue?
Rykken
 
Posts: 3
Joined: 18. February 2012 22:12
Operating System: Windows 7

Re: From no to new password

Postby Altrea » 19. February 2012 12:58

Rykken wrote:How do I setup a password without running into this issue?

Simply change the password in your database login of your guild forum too.
How should that script know, that you have changed the password?

best wishes,
Altrea
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: From no to new password

Postby Rykken » 19. February 2012 21:19

Hmm, I opened all the config files and changed the passwords but I still get the error when trying to view my site.
Rykken
 
Posts: 3
Joined: 18. February 2012 22:12
Operating System: Windows 7

Re: From no to new password

Postby hackattack142 » 20. February 2012 01:36

Which config files are you editing? You need to find the place in your website code that has the DB credentials and modify it accordingly.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 124 guests