PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.database.mysql > Getting Error Nr. 1045 during setup
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Getting Error Nr. 1045 during setup

Réponse
 
LinkBack Outils de la discussion
Vieux 24/03/2006, 06h40   #1
Greg Noss
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Getting Error Nr. 1045 during setup

I'm trying to install MySQL. During the security settings portion fo the
setup. I keep getting a Connection Error.
Error Nr. 1045
Access denied for user'root'@'localhost'(using password:YES)

........

I had Zonealarm running. Changed the trusted zone security setting to
low(disabled) then selected "retry" Failed again.

Rebooted, turned off Zonealarm, going through configuration wizard I changed
the root password to "YES" connection still failed...

I'm obviously not crossing a "T" somewhere. I'm a little lost.

Thanks in advance.

Greg Noss



  Réponse avec citation
Vieux 24/03/2006, 07h30   #2
Bill Karwin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting Error Nr. 1045 during setup

"Greg Noss" <sscgreg@earthlink.net> wrote in message
news:zvMUf.7609$Bj7.565@newsread2.news.pas.earthli nk.net...
> I'm trying to install MySQL. During the security settings portion fo the
> setup. I keep getting a Connection Error.
> Error Nr. 1045
> Access denied for user'root'@'localhost'(using password:YES)


Well, for what it's worth, in that error message, it does not mean that the
root password is literally "YES" -- it means that you did give a password.
In MySQL, it is possible to configure accounts that do not have a password.
It's even possible for the same account to have different privileges
depending on whether you supply a password or not. So in this error, the
fact that you were attempting to supply a password when it failed is
actually a relevant detail (though I have always thought that this error is
confusing for new users).

The first thing I'd check is if the MySQL service is running. You could get
this error in the client if there is no service for the client to talk to.
You can check the service by opening Control Panel -> Administrator Tools ->
Services.

Check the error log for clues. On my Windows machine, the error log is
location in C:\Program Files\MySQL\MySQL 5.0 Server\data\<hostname>.err
(where <hostname> is the name of my Windows machine).

Read the following page for many more tips on resolving "access denied"
errors:
http://dev.mysql.com/doc/refman/5.0/...ss-denied.html

Regards,
Bill K.


  Réponse avec citation
Vieux 29/03/2006, 23h39   #3
Greg Noss
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting Error Nr. 1045 during setup

Thanks for your input, I had another app. that installed their version of
MySQL I wasn't using their functions I removed their version adn PRESTO
MySQL worked. Is it possible to run to different copies of MySQL on the
same machine?

Thanks,
Greg Noss

"Bill Karwin" <bill@karwin.com> wrote in message
news:e0075q017dt@enews2.newsguy.com...
> "Greg Noss" <sscgreg@earthlink.net> wrote in message
> news:zvMUf.7609$Bj7.565@newsread2.news.pas.earthli nk.net...
>> I'm trying to install MySQL. During the security settings portion fo the
>> setup. I keep getting a Connection Error.
>> Error Nr. 1045
>> Access denied for user'root'@'localhost'(using password:YES)

>
> Well, for what it's worth, in that error message, it does not mean that
> the root password is literally "YES" -- it means that you did give a
> password. In MySQL, it is possible to configure accounts that do not have
> a password. It's even possible for the same account to have different
> privileges depending on whether you supply a password or not. So in this
> error, the fact that you were attempting to supply a password when it
> failed is actually a relevant detail (though I have always thought that
> this error is confusing for new users).
>
> The first thing I'd check is if the MySQL service is running. You could
> get this error in the client if there is no service for the client to talk
> to. You can check the service by opening Control Panel -> Administrator
> Tools -> Services.
>
> Check the error log for clues. On my Windows machine, the error log is
> location in C:\Program Files\MySQL\MySQL 5.0 Server\data\<hostname>.err
> (where <hostname> is the name of my Windows machine).
>
> Read the following page for many more tips on resolving "access denied"
> errors:
> http://dev.mysql.com/doc/refman/5.0/...ss-denied.html
>
> Regards,
> Bill K.
>



  Réponse avec citation
Vieux 30/03/2006, 00h04   #4
Bill Karwin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting Error Nr. 1045 during setup

Greg Noss wrote:
> Thanks for your input, I had another app. that installed their version of
> MySQL I wasn't using their functions I removed their version adn PRESTO
> MySQL worked.


I would guess that your copy of MySQL wasn't running at all; it was the
vendor's instance running on the same port. That would explain why your
password wasn't being recognized.

> Is it possible to run to different copies of MySQL on the
> same machine?


Yes, it should be possible to do so.

More recent versions of MySQL support the concept of running "instances"
of one installation.
http://dev.mysql.com/doc/refman/5.0/...e-manager.html

But if you want to run multiple instances of _different_ MySQL
installations (for example, if you want to keep several different
versions available for testing), it gets trickier.

They need to be installed in different directories, and they must not
touch each other's databases. They should listen on distinct ports. If
you run them as services on Windows, they need to use distinct service
names. On UNIX/Linux, they also need to have distinct locations for
their respective log files, init scripts, and socket files. Whew!

Regards,
Bill K.
  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 23h47.


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