Results 1 to 3 of 3

Thread: Database help needed

  1. #1

    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.

  2. #2
    Banned
    Join Date
    Aug 2001
    Location
    Yes
    Posts
    4,424
    $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...

  3. #3
    Senior Member WolfeTone's Avatar
    Join Date
    Jun 2007
    Location
    Ireland
    Posts
    197
    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

  1. Windows Error Messages
    By cheyenne1212 in forum Miscellaneous Security Discussions
    Replies: 7
    Last Post: February 1st, 2012, 02:51 PM
  2. Customizing Back|Track....Need Some Help
    By earthrocker in forum Newbie Security Questions
    Replies: 7
    Last Post: August 5th, 2006, 03:43 PM
  3. SQL Tutorial – Basics
    By mikester2 in forum Other Tutorials Forum
    Replies: 5
    Last Post: January 31st, 2005, 01:16 PM
  4. Multiple vulnerabilities in Oracle Products
    By Spyder32 in forum Miscellaneous Security Discussions
    Replies: 0
    Last Post: September 1st, 2004, 06:28 PM
  5. The Worlds Longest Thread!
    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
  •