Skip to main content
Participating Frequently
April 25, 2007
Question

Connecting to Mysql

  • April 25, 2007
  • 6 replies
  • 836 views
I installed mysql and try to use php on Winxp using IIS.
The phpinfo script runs great however i cant set up a connection string using dreamweaver, when i select a database a get the message:

Your php server doesn't have the Mysql module loaded or cant use the mysql_pconnect functions.

Can someone please help me

Thanku in advance
This topic has been closed for replies.

6 replies

martha_aAuthor
Participating Frequently
April 25, 2007
Yes...
martha_aAuthor
Participating Frequently
April 25, 2007
I copypasted the question from another post which wasn't mine. Sorry for the confusion...
I did what u say but I don't see "MySQL Support: enabled" anywhere.
Inspiring
April 25, 2007
geschenk wrote:
> If you don�t see this, it seems that the MySQL module isn�t activated at all
> -- regretfully I can�t provide a solution for IIS, let�s hope that someone else
> reading this can tell you more about it.

How did you install PHP? Using the Windows Installer? If so, which
version? If you're using 5.2.0 or higher, you can find installation
instructions here.

http://foundationphp.com/tutorials/php_installer.php

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
martha_aAuthor
Participating Frequently
April 25, 2007
Yes, I used the Windows Installer.
When I went through the step #7, I did select the MySql extension.

I cannot figure out what is going wrong.
martha_aAuthor
Participating Frequently
April 25, 2007
Thanks for the help.
No, I don't see it anywhere...
Inspiring
April 25, 2007
On 25 Apr 2007 in macromedia.dreamweaver.appdev, martha.a wrote:

> Sorry...where is "phpinfo" exactly?

- Create a new text file; name it, say phpinfo.php
- In that file add the following:

<?php phpinfo(); ?>

- Save the file and upload it
- Browse to it

--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/contact.php
martha_aAuthor
Participating Frequently
April 25, 2007
Sorry...where is "phpinfo" exactly?
Günter_Schenk
Inspiring
April 25, 2007
well, you said "The phpinfo script runs great" -- there´s actually a PHP function called "phpinfo" which will display all your server settings, so I thought that´s what you´ve been seeing already ;-)

please create a new PHP file containg only the following:

<?php
phpinfo();
?>


and save it in your local server root as, say, "phpinfo.php". When launching this page in your browser, it should display lots of server related information to you, and somewhere you should be seeing "MySQL Support: enabled".
Günter_Schenk
Inspiring
April 25, 2007
>>
Your php server doesn't have the Mysql module loaded or cant use the mysql_pconnect functions.
>>

when looking at your phpinfo, do you see "MySQL Support: enabled" somewhere ?