Hack Forums
[PHP] Need help setting up booter source on xammp - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] Need help setting up booter source on xammp (/showthread.php?tid=3194022)



Need help setting up booter source on xammp - Bricksquad - Jan 20, 2013

Hi everyone, well I have just a simple booter source that I plan on modifying just for something to do, well in the source you have to change the code for it to connect to your database, well I've tried many times and still can't seem to get it. I'm using xammp, any help would be great. Thanks guys.


* - _DeNy - Jan 21, 2013

Mind posting the source of whatever you're editing?
I'm sure it's just going to be as simple as editing a few lines.


* - benji_19994 - Jan 21, 2013

For us to help you we need the error and the source of the error;


* - i95swervin - Jan 21, 2013

by default on XAMPP, phpmyadmin uses a root user with no password so... edit your db file with the credentials.

example:

Code
define('DB_HOST', 'localhost');
define('DB_NAME', 'DBNAME');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');



* - Swish - Jan 21, 2013

I can help you if you want, sent me a PM.