Re: connecting to MySQL (Re: synchronizing models)
Re: connecting to MySQL (Re: synchronizing models)
- Subject: Re: connecting to MySQL (Re: synchronizing models)
- From: Lucas Holt <email@hidden>
- Date: Mon, 8 Aug 2005 23:12:46 -0400
I should point out you can add a command line argument to mysql
server when its started to use the old password hashing algorithm. I
had to do this on my server so i could support php 4.3.x and mysql
4.1.x.
On Aug 8, 2005, at 10:01 AM, email@hidden wrote:
Hi,
you use an old driver (You must to)
Your problem is here
http://dev.mysql.com/doc/mysql/en/old-client.html
----------------------------------------------------------------------
------
----
MySQL 4.1 and up uses an authentication protocol based on a
password hashing
algorithm that is incompatible with that used by older clients. If you
upgrade the server to 4.1, attempts to connect to it with an older
client
may fail with the following message:
shell> mysql
Client does not support authentication protocol requested
by server; consider upgrading MySQL client
To solve this problem, you should use one of the following approaches:
Upgrade all client programs to use a 4.1.1 or newer client library.
When connecting to the server with a pre-4.1 client program, use an
account
that still has a pre-4.1-style password.
Reset the password to pre-4.1 style for each user that needs to use a
pre-4.1 client program. This can be done using the SET PASSWORD
statement
and the OLD_PASSWORD() function:
mysql> SET PASSWORD FOR
-> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');
Alternatively, use UPDATE and FLUSH PRIVILEGES:
----------------------------------------------------------------------
------
----
HTH
Sako.
----- Original Message -----
From: "Kieran Kelleher" <email@hidden>
To: "Kushnir Gennady" <email@hidden>
Cc: <email@hidden>
Sent: Sunday, August 07, 2005 2:44 PM
Subject: Re: connecting to MySQL (Re: synchronizing models)
I'm working with 4.0.X .... however I believe you need the latest 3.1
jdbc connector for MySQL 4.1.
Available here:
http://dev.mysql.com/downloads/connector/j/3.1.html
Installation procedure:
http://homepage.mac.com/kelleherk/iblog/C711669388/E70925289/
index.html
Forget the mm.mysql driver mentioned in the manual .... that's old and
probably applies to MySQL 3.X.
EOModeler adaptor settings should look something like this.
http://homepage.mac.com/kelleherk/iblog/C711669388/E1395049038/
index.html
On Aug 7, 2005, at 3:51 AM, Kushnir Gennady wrote:
Finally i decided to install same MySQL version (4.1.13) on both
development and deployment machine. but now I have trouble connecting
to it from my EOModeler.
I've installed jdbc driver mentioned in WO manual (mm.mysql). Created
database using YourSQL gui but EOModeler keeps telling me:
"Communication failure during handshake. Is there a server running
on localhost:3306?"
i know there is one! I'm successfully connected to it with YourSQL!
What am i doing wrong?
Thanks in advance
Gennady
On 03.08.2005, at 19:04, Kieran Kelleher wrote:
If you want to really make your life easy, just install same version
of MySQL on your Mac as you have on your deployment server. Then you
can just build and deploy.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40itcc.datos.de
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40foolishgames.com
This email sent to email@hidden
Lucas Holt
email@hidden
________________________________________________________
FoolishGames.com (Jewel Fan Site)
JustJournal.com (Free blogging)
FoolishGames.net (Enemy Territory IoM site)
Think PC.. in 2006 you can own an Apple PCintosh. Whats next, windows
works?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden