SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: mysql_connect

  1. #1
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I installed mySQL stable version yesterday and now I tried to install myPHPadmin but for some reason when I try to run the index.php3, it pop up an error:

    Fatal error: Call to unsupported or undefined function mysql_connect() in lib.inc.php3 on line 255

    First I though my username and password to connecct to mySQL was wrong but I double check it but still couldn't connnect from phpPHPAdmin scripts.

    I can run mySQL on telnet though, I can create database and etc. I installed mySQL into the following dir /usr/local/mysql

    Please let me know what I did wrong.


  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If your using PHP3, I believe that you need an external module or library (depending on their tech terms) to connect MySQL. This functionality is built into PHP4.
    Wayne Luke
    ------------


  3. #3
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What you mean? I can run PHP3 fine on my server.


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
  •