-
December 7th, 2007, 09:30 PM
#1
Member
Database help needed
$crishn = mysql_connect($db_host, $db_user, $db_pass);
$crashn = mysql_select_db($db_name);
I have to change the above but not sure what is what , can anyone help ??
my database name - atencorps
username-Minolta
pass-Sandy
atencorp_atencorps.
I believe I should just delete "name" and replace with "atencorps"
I believe I should just delete "user" and replace with "minolta"
I believe I should just delete "pass " and replace with "sandy"
is that correct ?? also what goes in the section "Host " ??
Last edited by mooret; December 7th, 2007 at 09:56 PM.
-
December 7th, 2007, 10:31 PM
#2
$db_host will more than likely be "localhost". In some cases, it's not (with Godaddy, for example), but that's usually what it is. If that doesn't work, you'll have to contact your host...
-
December 10th, 2007, 11:13 AM
#3
Code:
$db_host="localhost"; //Or IP Address of your server
$db_user = "Minolta";
$db_pass = "Sandy";
$db_name = "atencorps";
$crishn = mysql_connect($db_host, $db_user, $db_pass);
$crashn = mysql_select_db($db_name);
Similar Threads
-
By cheyenne1212 in forum Miscellaneous Security Discussions
Replies: 7
Last Post: February 1st, 2012, 02:51 PM
-
By earthrocker in forum Newbie Security Questions
Replies: 7
Last Post: August 5th, 2006, 03:43 PM
-
By mikester2 in forum Other Tutorials Forum
Replies: 5
Last Post: January 31st, 2005, 01:16 PM
-
By Spyder32 in forum Miscellaneous Security Discussions
Replies: 0
Last Post: September 1st, 2004, 06:28 PM
-
By Noble Hamlet in forum AntiOnline's General Chit Chat
Replies: 1100
Last Post: March 17th, 2002, 09:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|