- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: mysql error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 06:16 AM
тАО02-17-2004 06:16 AM
When i do mysqladmin -h localhost version, i get a :
"mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using Password: NO)'
Anybody come across this or know any solutions what my problem might be? I have to leave soon but i'll be in tomorrow morning. Thanks for any replies.
PS. i have RH 9.0 and installed the RPM's
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 07:36 AM
тАО02-17-2004 07:36 AM
SolutionIt basically wants a password before it will allow access to root. MySQL treats root like any other user, and requires a password unless you set it up otherwise. Try
mysqladmin -h localhost version -p
and it will prompt you for a password, which should then give you access.
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 07:48 AM
тАО02-17-2004 07:48 AM
Re: mysql error
you should have a file Docs/manual.html somewhere in your mysql installation. Section 4.3 discusses user setup and management in detail. If you have not done so make sure the myqsl server is <
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 01:01 PM
тАО02-17-2004 01:01 PM
Re: mysql error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 09:20 PM
тАО02-17-2004 09:20 PM
Re: mysql error
usually, after installing mysql, I add a user called 'admin' or 'system' (like Oracle) with administrative privileges and I use this to maintain the server (even from remote machines):
# mysql (from root)
mysql> use mysql
Database changed
mysql> grant all privileges on *.* to admin@"%" identified by 'admin';
now, from remote machines, I can connect to mysql server with:
$ mysql -h
hth,
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 02:16 AM
тАО02-18-2004 02:16 AM