473,327 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

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

Mar 24 '06 #1
3 22542
"Greg Noss" <ss*****@earthlink.net> wrote in message
news:zv****************@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.
Mar 24 '06 #2
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" <bi**@karwin.com> wrote in message
news:e0*********@enews2.newsguy.com...
"Greg Noss" <ss*****@earthlink.net> wrote in message
news:zv****************@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.

Mar 29 '06 #3
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.
Mar 30 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Morten Gulbrandsen | last post by:
Hi programmers, Good morning ;-) I think something is wrong, Running windows I believe first I have to set some password, Which creates some user, Then I can grant the required privileges, for...
0
by: *** JB | last post by:
After an installation of Namo WebBoard messed up my MySQL installation - I have been unable to get it fully working again. My setup is as follows: Apache 1.3 / MySQL 4 / PHP 4 When I use...
4
by: 21novembre | last post by:
Hi all, I got a quite strange problem when I tried to setup a database backup shell. I put it this way: "bin/mysqldump --opt --user=xxx --password=xxx DB > DB.bak" However, error 1045 came to...
3
by: dstewart | last post by:
Situation: One common MySQL database server on SuSE 9.1 with all updates. Uses 'rinetd'. Has entries for the appropriate IP addresses of all servers. NOTE: If the appropirate entries are NOT in...
3
by: prasadbabu | last post by:
Hi Guys, I am new to this forum. So if i made any mistake please bare with me. Soon i ll follow all the guidelines as days pass through. I am getting following error when i try to login to...
0
by: baghath | last post by:
I am using linux server in virtually(putty). that server have a mysql. I got the error (ERROR 1045) in when i type mysql time.i need ur help for how to rectify the error in command mode. ...
1
by: ajd335 | last post by:
Hi all... I am working with PHP and mysql. I have one form from which i am importing data into the table. Now i want "email " field result into a text file I am using code select email...
1
by: ajd335 | last post by:
Hi all... I am working with PHP and mysql. I have one form from which i am importing data into the table. Now i want "email " field result into a text file I am using code select email...
2
ram09
by: ram09 | last post by:
im trying to dump my database for a replication but i encounter this error message... mysqldump: Got error: 1045: access denied for user 'ODBC' @ 'localhost' <using password NO> when trying to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.