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 client/server mismatched versions
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
mysql client/server mismatched versions

Réponse
 
LinkBack Outils de la discussion
Vieux 03/02/2008, 20h24   #1
tommy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut mysql client/server mismatched versions

if i have mysql 5 client installed on my local computer and i try to
connect to a mysql server with mysql 4.1, is this expected to give
errors? like lost connections?
  Réponse avec citation
Vieux 03/02/2008, 22h05   #2
Gordon Burditt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mysql client/server mismatched versions

>if i have mysql 5 client installed on my local computer and i try to
>connect to a mysql server with mysql 4.1, is this expected to give
>errors? like lost connections?


Mismatched server and client versions that are not "too far apart"
generally work fine.

They have changed the password hash algorithm. Mismatches across
these boundaries generally fail to log in and get an error message
to that effect ("Access denied" or "Client does not support
authentication protocol"). If both server and client are at version
4.1.1 or greater, this should not be a problem.

A "lost connection" when it is not explainable by a connection
idle-timeout often means "mysqld dumped core". mysqld may be
restarted by mysqld_safe.

  Réponse avec citation
Vieux 04/02/2008, 00h33   #3
Axel Schwenke
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mysql client/server mismatched versions

tommy <wheels619@gmail.com> wrote:
> if i have mysql 5 client installed on my local computer and i try to
> connect to a mysql server with mysql 4.1, is this expected to give
> errors? like lost connections?


Why don't you just try?

But the answer is: no there are no problems to be expected. The MySQL
protocol is backwards compatible, so as long as the client is newer or
equal version than the server, all is fine.

There is even (nearly perfect) forward-compatibility. The protocol
changed a lot with 4.1. But still older clients (3.23, 4.0) work
with new servers because both sides announce their capabilities at
handshake.


XL
--
Axel Schwenke, Support Engineer, MySQL AB

Online User Manual: http://dev.mysql.com/doc/refman/5.0/en/
MySQL User Forums: http://forums.mysql.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 01h51.


Édité par : vBulletin® version 3.7.3
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 ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09496 seconds with 11 queries