What's my DB username and password?
Posted by: levani (85.118.111.---)
Date: April 06, 2008 09:03PM

Hi all

I'm beginner and dont know what's my DB username and password. Can you please help me?

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: yfastud (Moderator)
Date: April 06, 2008 09:27PM

Default is root and no password; for own security, check Setup Password guide on my personal website

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: levani (85.118.113.---)
Date: April 07, 2008 05:21PM

Ok thank you very much.

And one more question please. I'm trying to install one scripts and it requeres to modify the config.php file first. This is the first part of this file:

// please set the full path to domain trader source files
// MUST HAVE trailing slash - "/"
// example: /home/user/public_html/
$FULL_PATH_TO_DT = "/home/user/public_html/";

I have to change the "/home/user/public_html/" with the full path to the script directory but don't know how. Please help me if you can



Edited 1 time(s). Last edit at 04/07/2008 05:23PM by levani.

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: yfastud (Moderator)
Date: April 07, 2008 05:33PM

For example, if you save your script in folder c:/wamp/www/your_folder, the full path should be

$FULL_PATH_TO_DT = "c:/wamp/www/your_folder";

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: levani (85.118.111.---)
Date: April 08, 2008 12:12PM

I'm doing so but it doesn't work sad smiley

WARNING: You have not modified "config.php". You will need to do this before continuing.

Please look at the config.php file. Is there anything alse to chanege?

<?

//-----------------------------------------------------------------------
// please set the full path to domain trader source files
// MUST HAVE trailing slash - "/"
// example: /home/user/public_html/
$FULL_PATH_TO_DT = "c:/wamp/www/domain/";
//-----------------------------------------------------------------------
// database configuration
// please enter your database credentials below
$dbHost="localhost"; //database host
$dbUser="root"; //database username
$dbPass=""; //database password
$dbName="domain"; //database name
//-----------------------------------------------------------------------
// pear configuration
// you will only need to edit this line if the installation fails
define('PEAR_DIR', $FULL_PATH_TO_DT."pear/"winking smiley;

// current software version
$softwareVersion="v2.1";
//-----------------------------------------------------------------------
if((!empty($dbHost)) && (!empty($dbUser)) && (!empty($dbPass)) && (!empty($dbName))) {
$mysqlConnect = mysql_connect($dbHost, $dbUser, $dbPass)or die(mysql_error());
mysql_select_db($dbName);
// pear DB connection settings
// do not change these settings
include_once($FULL_PATH_TO_DT."pear/DB.php"winking smiley;
$dbh = DB::connect("mysql://$dbUser:$dbPass@$dbHost/$dbName"winking smiley;
// include tables file
include("tables.php"winking smiley;
}
?>



This is from help file:

1. UNZIP the contents of "DomainTrader_v2.zip".
2. Upload all of the files inside the "public_html" folder, to a directory on your server.
3 . Open "config.php" (located inside the "includes" folder) in your favorite text editor.
4 . Find the line: $FULL_PATH_TO_DT = "/home/user/public_html/"; and replace with the full path to the directory to which you have uploaded Domain Trader v2.0.
5. Find the line: "// database configuration". Below this line there are a further 4 variables listed. These are the settings for your MySQL database. Enter your database credentials as required.
6. Save the changes you have made and re-upload "config.php" to the "includes" folder.
7. Now you need to make the "templates_c" directory writeable (CHMOD 777), inside the "smarty" folder. This can be done via cPanel or usually via your FTP client.
8. Now open [www.yourdomain.com] in your browser, replacing [www.yourdomain.com] with the website url to which you are installing the software.
9. Follow the on screen instructions to complete the script installation.

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: yfastud (Moderator)
Date: April 08, 2008 01:28PM

You must use full tag <?php ... ?> if short_open_tag is not enable in php.ini

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: levani (85.118.111.---)
Date: April 08, 2008 02:00PM

Still doesn't work sad smiley

Here is a download link of this script. Please do me a favour and check it with your wamp server. The script is Domain trader v2.1

[rapidshare.com]

thanks beforehand

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: yfastud (Moderator)
Date: April 08, 2008 04:33PM

Not sure why or what causes you that problem since here the screenshot after done installation ;-)

[jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: levani (85.118.111.---)
Date: April 08, 2008 05:00PM

Please copy and paste your config.php file

Options: ReplyQuote
Re: What's my DB username and password?
Posted by: yfastud (Moderator)
Date: April 08, 2008 05:20PM

The info in config file is based on db you setup; if not sure, you should check Setup Database guide on my personal website. If still insist, here it is

//-----------------------------------------------------------------------
// please set the full path to domain trader source files
// MUST HAVE trailing slash - "/"
// example: /home/user/public_html/
$FULL_PATH_TO_DT = "C:/wamp/www/DomainTrader/";
//-----------------------------------------------------------------------
// database configuration
// please enter your database credentials below
$dbHost="localhost"; //database host
$dbUser="DomainTrader"; //database username
$dbPass="DomainTrader"; //database password
$dbName="DomainTrader"; //database name

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.