PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > Connecting MYSQL to IIS v5
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Connecting MYSQL to IIS v5

Réponse
 
LinkBack Outils de la discussion
Vieux 29/09/2007, 21h01   #1 (permalink)
Mick
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Connecting MYSQL to IIS v5

I have IIS v5 running on a local machine and have recently loaded PHP
v5. Running phpinfo in my browser shows PHP is running OK.

I have now downloaded MySQL v5 and using the command line I can create
and populate databases.

The problem comes when I try to connect to the database from a PHP
script. All I get in the browser is a HTTP 500 server error with no
other error message in the browser. I've tried switching off my
firewall, checking PHP.ini and the connection string in my script but
everything appears OK.

I would be grateful for any suggestions as to where I'm going wrong
and what I need to do to get my connection working.

  Réponse avec citation
Vieux 29/09/2007, 21h06   #2 (permalink)
J.O. Aho
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Connecting MYSQL to IIS v5

Mick wrote:
> I have IIS v5 running on a local machine and have recently loaded PHP
> v5. Running phpinfo in my browser shows PHP is running OK.
>
> I have now downloaded MySQL v5 and using the command line I can create
> and populate databases.
>
> The problem comes when I try to connect to the database from a PHP
> script. All I get in the browser is a HTTP 500 server error with no
> other error message in the browser. I've tried switching off my
> firewall, checking PHP.ini and the connection string in my script but
> everything appears OK.
>
> I would be grateful for any suggestions as to where I'm going wrong
> and what I need to do to get my connection working.
>


I would guess you are missing the mysql dll for php, or you forgot to make it
to be loaded in the php.ini.

If you want an easy way to setup web server, php and mysql, then visit this
link: www.distrowatch.com

--

//Aho
  Réponse avec citation
Vieux 29/09/2007, 22h30   #3 (permalink)
Brian Wakem
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Connecting MYSQL to IIS v5

Mick wrote:

> I have IIS v5 running on a local machine and have recently loaded PHP
> v5. Running phpinfo in my browser shows PHP is running OK.
>
> I have now downloaded MySQL v5 and using the command line I can create
> and populate databases.
>
> The problem comes when I try to connect to the database from a PHP
> script. All I get in the browser is a HTTP 500 server error with no
> other error message in the browser. I've tried switching off my
> firewall, checking PHP.ini and the connection string in my script but
> everything appears OK.
>
> I would be grateful for any suggestions as to where I'm going wrong
> and what I need to do to get my connection working.



Look in your webserver's error log.


--
Brian Wakem
  Réponse avec citation
Vieux 30/09/2007, 14h45   #4 (permalink)
Mick
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Connecting MYSQL to IIS v5

Thanks for your input. I now have a connection with IIS and MySQL.

  Réponse avec citation
Vieux 01/11/2007, 20h16   #5 (permalink)
Mike
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Connecting MYSQL to IIS v5


"Mick" <mick.smith1@gmail.com> wrote in message
news:1191159929.187295.203950@k79g2000hse.googlegr oups.com...
> Thanks for your input. I now have a connection with IIS and MySQL.
>


You mean PHP and MySQL . Glad you got it working













---------------------------------------------------------
DSB
http://www.documentscanningbureau.com


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h32.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09922 seconds with 13 queries