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 > mysql http connector
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
mysql http connector

Réponse
 
LinkBack Outils de la discussion
Vieux 02/04/2008, 00h00   #1
Junkone
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut mysql http connector

is there a functionality to connect application to mysql thro http.
for eg. i could have mysql running at port 80 and another app that
connects to the mysql db using http calls.

Seede
  Réponse avec citation
Vieux 03/04/2008, 04h19   #2
Michael Austin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mysql http connector

Junkone wrote:
> is there a functionality to connect application to mysql thro http.
> for eg. i could have mysql running at port 80 and another app that
> connects to the mysql db using http calls.
>
> Seede


No.

Why would even consider something like this... The security risks would
be astronomical. You also seem to be confusing protocols with ports
numbers. Mysql server can only receive information from a mysql client
- and that client must be able to authenticate, present a query and
receive the result in a very particular format. Configuring it on port
80 does NOT allow you to communicate using the http protocol. You need
to learn the differences between port numbers, protocols and languages.

Port 80 is the standard port for the http protocol, just as port 22 is
the default ssh port and port 25 is the default smtp protocol(mail)
port. The MySQL server requires a client that can speak it's
"protocol". It cannot speak http protocol.
  Réponse avec citation
Vieux 03/04/2008, 16h27   #3
Junkone
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mysql http connector

On Apr 2, 11:19pm, Michael Austin <maus...@firstdbasource.com> wrote:
> Junkone wrote:
> > is there a functionality to connect application to mysql thro http.
> > for eg. i could have mysql running at port 80 and another app that
> > connects to the mysql db using http calls.

>
> > Seede

>
> No.
>
> Why would even consider something like this... The security risks would
> be astronomical. You also seem to be confusing protocols with ports
> numbers. Mysql server can only receive information from a mysql client
> - and that client must be able to authenticate, present a query and
> receive the result in a very particular format. Configuring it on port
> 80 does NOT allow you to communicate using the http protocol. You need
> to learn the differences between port numbers, protocols and languages.
>
> Port 80 is the standard port for the http protocol, just as port 22 is
> the default ssh port and port 25 is the default smtp protocol(mail)
> port. The MySQL server requires a client that can speak it's
> "protocol". It cannot speak http protocol.


i appreciate your concern. maybe i should have explained it better. I
was looking to expose the mysql data thro a webservice or something
similar. any products that are opensource that provide such features.
i was looking to connect from my app to connect to mysql thro a
webservice connector to query data
  Réponse avec citation
Vieux 03/04/2008, 17h38   #4
Richard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mysql http connector


"Junkone" <junkone1@gmail.com> wrote in message
news:6feda986-c2d7-408d-a659-34cbc8454beb@x41g2000hsb.googlegroups.com...
> is there a functionality to connect application to mysql thro http.
> for eg. i could have mysql running at port 80 and another app that
> connects to the mysql db using http calls.
>
> Seede


Yes,
check mySQLyog, it has a php script exactly for that. Maybe you can
use it take it as an example?

Richard.



  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 12h01.


É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,12624 seconds with 12 queries