Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > MySQL > Connecting to MySQL 4.1.1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-03, 12:30
rezdog rezdog is offline
Registered User
 
Join Date: Dec 2003
Posts: 1
Connecting to MySQL 4.1.1

I've just upgraded to mysql 4.1.1. I am having problems connecting to the database whenever I use a user with a password. I've tried setting the password with the password function and the old_password function, and neither works for me. I get the same error from both the mysql client, and when trying to connect with the JDBC drivers. The error message I recieve is:
ERROR 1045 (28000): Access denied for user: 'artsys'@'localhost' (Using password: YES)

When I remove the password with the same user, I have no problems with the MySQL client, but I still have the same problem with the JDBC drivers. Anyone had a similar problem?

Scott
Reply With Quote
  #2 (permalink)  
Old 12-08-03, 13:37
Mincer Mincer is offline
Registered User
 
Join Date: Sep 2003
Location: London
Posts: 56
Did you install/start mysql using --old-passwords, or just use the oldpassword() function when hashing the passwords?
Reply With Quote
  #3 (permalink)  
Old 12-09-03, 09:41
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
Did you add your user with % as host ?
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
  #4 (permalink)  
Old 01-26-04, 22:59
rockysoon rockysoon is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
I get it.

first add new user "with grant option"
then use the instruction "flush prilvileges"
or you will get the "ERROR 1045 (28000): Access denied for user: 'root'@'localhost' (Using password:NO)"
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On