What I am trying to do is test PHP scripts that I will use on my website, on my computer. Now, the thing that pops into your head probably is "Just download Apache and PHP and you're good." Well, half of the problem is solved. The other half is MySQL.
I would like to access my MySQL database from the scripts that I will be testing on my computer. I have absolutely NO idea how to do this.
What I did try is instead of trying to connect to "localhost" I changed the files on my computer to instead connect to my domain. That didn't work.
Any help on this matter would be GREATLY appreciated. Thanks.