|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Hey,
I downloaded the latest beta of mySQL from mysql.com [for windows] and i installed it and ran winmysqladmin.exe as the readme tells me to. I filled the the username/pw and then save and it to the ini and then it runs the mySQL program without a problem. Then i ran mysql.exe to make sure there werent any conflicts or errors, and it worked fine and i made a quick database. But, then when i try to use mysql functions in PHP [any of them], i get the following error.. Fatal error: Call to undefined function: mysql_connect() in D hpbblah.php3 on line 8Anyone know why this is happening? I have omni httpd server running, and PHP works fine and the green light on the mySQL admin is green. Any help would be greatly appreciated. Thanks -Bryan |
|
#2
|
|||
|
|||
|
You have to enable mysql functions in PHP. There should be a line in php.ini that looks something like:
;extension=php3_mysql.dll remove the semi-colon |
|
#3
|
|||
|
|||
|
Rod,
I already had that line in php.ini un commented...anything else that may be causing the problem? -Bryan |
|
#4
|
|||
|
|||
|
I'd been using MySQL 3.22.xx for windows for a little while, and then I thought it'd be cool to upgrade... I'd stay away from the little GUI for the mysqladmin and just run the whole shoot'n match from your DOS CLI. That GUI made it so I couldn't connect either. I just cleaned up what I could, did a re-install (re-unzip
) and never double clicked on anything in the mysqlbin again. |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Problem with mySQL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|