Jump to content

Problem with installed MySQL [RESOLVED]


OhLordy

Recommended Posts

I have MySQL installed on my Redhat 8 machine. I know it\'s working because I can use it from the command line.

However when I call it from PHP I get this error

 

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/tester.php on line 9

 

It sounds like I need to add something to PHP to make MySQL work but I installed them together with the web development package that came with Redhat 8.

 

Thanks in advance

Rob

Link to comment
https://forums.phpfreaks.com/topic/121-problem-with-installed-mysql-resolved/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.