Results 1 to 9 of 9

Thread: I need some mySQL information. PLEASE HELP!!!

  1. #1
    Join Date
    Sep 2004
    Location
    Maryland, USA
    Posts
    332

    Default I need some mySQL information. PLEASE HELP!!!

    Well I am a fledgling SQL user, and I need to know how to connect to Bizhat...

    In otherwords, what do I put into the mysql_connect() function to connect???

    Any and all help is appreciated.

  2. #2
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    $db = mysql_connect("localhost","user_bizhat_com","passw ord") or die("connection failed");

    mysql_select_db("user_bizhat_com",$db) or die("can't select data base");
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  3. #3
    Join Date
    Sep 2004
    Location
    Maryland, USA
    Posts
    332

    Default

    Quote Originally Posted by admin
    $db = mysql_connect("localhost","user_bizhat_com","passw ord") or die("connection failed");

    mysql_select_db("user_bizhat_com",$db) or die("can't select data base");
    so I need to supply localhost, user_bizhat_com and password?

    kk

    but what would I put for the localhost?

  4. #4
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    It is the MySQL host. Since mySQl is running on same server, just use "localhost"
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  5. #5
    Join Date
    Oct 2004
    Posts
    9

    Default hmm...

    Sorry canīt help you with that. I hope sombody else will help you:)

  6. #6
    Join Date
    Sep 2004
    Location
    Maryland, USA
    Posts
    332

    Default

    Quote Originally Posted by Nokia
    It is the MySQL host. Since mySQl is running on same server, just use "localhost"
    ah, thanks muchly

  7. #7
    Join Date
    Oct 2004
    Location
    India
    Posts
    30

    Default i need help with mysql

    Hello,
    I'm new to mysql. Does anyone knows any good site on it tht will teach me evrything about mysql

  8. #8
    Join Date
    Sep 2004
    Location
    Maryland, USA
    Posts
    332

    Default

    hey I'm learning too, but through a friend. but this looks good:

    http://www.w3schools.com/sql/default.asp

  9. #9
    Join Date
    Oct 2004
    Location
    India
    Posts
    30

    Default I want info on MYsql

    Quote Originally Posted by madboyv1
    hey I'm learning too, but through a friend. but this looks good:

    http://www.w3schools.com/sql/default.asp
    Hey dude i want info on the databse mySQL not SQl.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •