Find the answer to your Linux question:
Results 1 to 3 of 3
I am trying to connect to my mysql database using php but I am getting the error "Fatal error: Call to undefined function mysql_connect()". I checked phpinfo() and there is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    Question Undefined function mysql_connect()


    I am trying to connect to my mysql database using php but I am getting the error "Fatal error: Call to undefined function mysql_connect()".

    I checked phpinfo() and there is no reference to MySQL. I believe this means that my install of PHP doesn't support MySQL. Do I need to uninstall and reinstall with a version of PHP with MySQL support? If so how should I do this and how do I get a version of PHP that supports MySQL?

    Thanks.

  2. #2
    Just Joined! jheaton5's Avatar
    Join Date
    Sep 2009
    Location
    Sharpsburg, GA, USA
    Posts
    21
    @Scotty2024

    I see that your question has not been answered in over a week. I suspect that no one knows the answer here. Have you tried the php and mysql forums?

  3. #3
    Just Joined! jheaton5's Avatar
    Join Date
    Sep 2009
    Location
    Sharpsburg, GA, USA
    Posts
    21
    Are you using phpmyadmin?

Posting Permissions

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