MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 1st, 2000, 09:28 PM
anna
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Hi, all

when I run mysql
got the error message:
ERROR 1045 Access denied for user "root@localhost" Using password NO"


when I run mysqladmin
I got the error message:
mysqladmin connect to server at 'localhosts' faild
ERROR Access denied for user "root@localhost" Using password NO"


what's wrong? please help, thank a lot


Reply With Quote
  #2  
Old May 2nd, 2000, 09:01 AM
PAV PAV is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 1999
Location: Netherlands
Posts: 77 PAV User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Did you set a password for root? If you did, you should provide it when logging in to MySQL: mysql -u root -p password

Peter

Reply With Quote
  #3  
Old May 2nd, 2000, 02:48 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
It's okay if you haven't specified a password for root in the beginning right after mysql is installed.
But you need to run this:
/usr/local/mysql/bin/mysql_install_db, then using root should have all privileges set to 'Y'.
You _SHOULD_ set a root password later on once you are comfortable with everything.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Access denied, please help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway