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

    Join Date
    Jul 2000
    Posts
    16
    Rep Power
    0
    Ive been trying to install MySql for a long time now following all types Tutorial I could find but... I got it installed to C:MySql and it works fine but I dont seem to get it integrated with php =(!
    Im using the phpinfo(); to look for Mysql but its not in the list. ive command linies such as this : ./configure --prefix=/usr/local/mysql
    that is supposed to set it up itself.. but ok im a newbie tell me how? PLZ
    Im using Win98 Php3 Omnihttpd
    mysql ver. 3,22
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    43
    Rep Power
    15
    I'm kind of a newbie also but thought I'd throw this your way.
    First of all. MySQL has to be installed first for obvious reasons. Then I found this piece in the PHP 3 manual. Should be the same for 4 also. You may need to re-install PHP so it can find the directories to Mysql or maybe there's a way to fix a .ini file???

    MySQL
    --with-mysql=DIR

    Enables MySQL support. The parameter to this option is the MySQL install directory and defaults to /usr/local. This is the default installation directory of the MySQL distribution.
    See also MySQL Configuration Directives in the configuration file.
    MySQL home page

    Did you install mysql to the default directory? If so great if not replace DIR with where it's at. Good Luck.

    Not sure if this applies to win 98. The / may need to be instead.
    Let me know if this helps as I'm interested also. Good Luck.


    ------------------
    lhallusa
    webpatron.com
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    16
    Rep Power
    0
    Thx but it didnt work =(
  6. #4
  7. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,642
    Rep Power
    4492
    there is a line in the php.ini file called

    extension_dir

    that should point to where php is at. there is a .dll in that php folder that mysql needs, i think.

    i had this problem and i think that was what solved it. let me know if it doesn't...

    does php work fine by itself, just not with mysql??

    ---John Holmes...
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    16
    Rep Power
    0
    Thx it works again now =)

Similar Threads

  1. new to mysql plz help me
    By hotboy320 in forum MySQL Help
    Replies: 1
    Last Post: February 15th, 2004, 11:46 AM
  2. (mysql_numrows($result) > 0) error! plz help.
    By mairaj in forum PHP Development
    Replies: 7
    Last Post: February 6th, 2004, 12:37 PM
  3. Plz Plz can someone help me about create tpl file??
    By follownet in forum Java Help
    Replies: 0
    Last Post: January 6th, 2004, 08:37 AM
  4. simply MATHS, plz giv a hand~~
    By lummaomao in forum PHP Development
    Replies: 2
    Last Post: July 29th, 2003, 11:50 PM
  5. regular expression help plz
    By adil_mujeeb in forum PHP Development
    Replies: 1
    Last Post: July 19th, 2003, 06:11 AM

IMN logo majestic logo threadwatch logo seochat tools logo