#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    16
    Rep Power
    0
    The PhP and the Omnihttpd server works fine but how do I make a Connection to MySql?

    Im running Win98!
    This is a question that has botherd me for a long time any help would be great =)
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    16
    Rep Power
    0
    I really would be happy for any help!
  4. #3
  5. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,642
    Rep Power
    4476
    I'm assuming you've installed mysql, which really is nothing more than uzipping it? from the command line in a dos window, get to

    c:mysqlbin

    from there, type mysqld to start the server. then run mysql -uroot, and that'll probably get you into the server if there is no password set. read the documentation on how then to set a password for root. from there you can create you databases and tables within mysql. for php use

    mysql_connect() to connect to the database, then you can issue queries with mysql_db_query(), look at www.php.net or here on devshed for some good tutorials and manuals.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    16
    Rep Power
    0
    Thx =)

Similar Threads

  1. smarty renders blank page
    By eemo in forum PHP Development
    Replies: 3
    Last Post: January 19th, 2004, 04:54 AM
  2. PHP and Dynamic tables in mysql
    By Vishalnay in forum PHP Development
    Replies: 5
    Last Post: August 28th, 2003, 04:28 PM
  3. Size of mysql result set using php.
    By kemiko in forum PHP Development
    Replies: 4
    Last Post: July 16th, 2003, 01:13 PM
  4. Combination of Apache + PHP + MySQL
    By gunsuper in forum Apache Development
    Replies: 3
    Last Post: November 13th, 2002, 02:19 PM
  5. How can a dummy get started with APACHE, PHP and MySQL?
    By TotalBeginner in forum Beginner Programming
    Replies: 4
    Last Post: October 20th, 2002, 03:03 PM

IMN logo majestic logo threadwatch logo seochat tools logo