mySQL won't work with password in XAMPP

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

mySQL won't work with password in XAMPP

Postby nonlin » 27. May 2013 09:51

Every time I set a password for mysql in the XMPP Security tab, the CD collection PHP (test? I presume?) says that it can't access the mysql database. However If I reset the password (take it off) it works.
How can I get mysql to function with a password?

EDIT: Or is that an example that won't work with the added security?
nonlin
 
Posts: 2
Joined: 27. May 2013 09:44
Operating System: Windows 8

Re: mySQL won't work with password in XAMPP

Postby Altrea » 27. May 2013 13:27

Hi nonlin,

Please start new threads with the words "Hi" or "Hello". A short salutation is an act of politeness. Even if the internet is an virtual area, there is always a human being behind the screen. A polite beginning is the first positive impression you can leave here and helps to get polite answers too. Please keep that in mind if you start a new thread in any community board.

nonlin wrote:Every time I set a password for mysql in the XMPP Security tab, the CD collection PHP (test? I presume?) says that it can't access the mysql database.

You have to add the password in the cd collection script too.
Open your \xampp\htdocs\xampp\cds.php and change lines 5 and 78 by entering your password as third parameter of the mysql_connect function.

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: mySQL won't work with password in XAMPP

Postby nonlin » 27. May 2013 19:32

Thanks for the help and I apologize for the lack of manners. One sometime forgets the power of a good greeting (Especially on the webs :P).
nonlin
 
Posts: 2
Joined: 27. May 2013 09:44
Operating System: Windows 8

Re: mySQL won't work with password in XAMPP

Postby Altrea » 28. May 2013 00:25

You are welcome :)
Have fun with XAMPP and all that stuff 8)
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


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 6 guests

cron