|
MySQL.RU - Webboard
Вернуться
Странности с установкой в XP SP2 (Artem) 14/02/2005 - 20:10:35
Re: Странности с установкой в XP SP2 (Edvards) 23/02/2005 - 09:39:31
> Original message text:
> From: Artem - 14/02/2005 - 20:10:35
> Subject:Странности с установкой в XP SP2
> -----------------
> Ситуация такова - после того, как вылетела Винда я столкнулся с такой ерундой: при установке Мусюкль v4.0.12 в новой винде (XP Service Pack 2) стал ругаться: вылетал алерт с таким заголовком "Can't run 16-Bit Windows program" и установка прерывалась. Как вы считаете, это дело в втором сервис паке?
>
From: Edvards - 23/02/2005 - 09:39:31
Subject:Странности с установкой в XP SP2
-----------------
на mySql.com говорят что ХР требует 32 битную кодировку пароля.
Нижеприложенное поможет.
A.2.4 Client does not support authentication protocol error
MySQL 4.1 uses an authentication protocal 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 a 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 do one of the following:
Upgrade all client programs to use a 4.1.1 or newer client library.
Use an account that has a pre-4.1-style password when connecting to the server with a pre-4.1 client program.
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 SET PASSWORD:
mysql> SET PASSWORD FOR
-> 'some_user'@'some_host' = OLD_PASSWORD('mypass');
Alternatively, use UPDATE and FLUSH PRIVILEGES:
mysql> UPDATE user SET Password = OLD_PASSWORD('mypass')
-> WHERE Host = 'some_host' AND User = 'some_user';
mysql> FLUSH PRIVILEGES;
In either case, you cannot tell what the original password is, so you'll need to pick a new one.
Tell the server to use the older password hashing algorithm:
Start mysqld with --old-passwords.
Set the password for each account that has a long password. You can find these accounts with:
mysql> SELECT Host, User, Password FROM mysql.user
-> WHERE LENGTH(Password) > 16;
For each such account, use the Host and User values and assign a new password with SET PASSWORD or UPDATE, as described earlier.
[Это сообщение - спам!]
Последние сообщения из форума
Уважаемые посетители форума MySQL.RU!
Убедительная просьба, прежде чем задавать свой вопрос в этом форуме, обратите внимание на разделы:
- ответы на наиболее часто задаваемые вопросы - FAQ
- раздел документация
- раздел поиск по сообщениям форума и документации
Также, старайтесь наиболее подробно указывать свою ситуацию (версию операционной системы, версию MySQL,
версию программного обеспечения, по которому возникает вопрос, текст возникающих ошибок, и др.)
Помните, чем конкретнее Вы опишете ситуацию, тем больше шансов получить реальную помощь.
20288
|
|