LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2006, 03:22 AM   #1
mattar31
Member
 
Registered: Jul 2006
Posts: 32

Rep: Reputation: 15
passwords


hey im tryin to create a mysqldadmin password but it says that i have denied acsee for the user root@localhost
can someone help????? thanx!!!
 
Old 07-23-2006, 04:58 AM   #2
Zetec
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, W7, openSUSE, Centos
Posts: 152

Rep: Reputation: 25
Have you set the root password for mysql? Are you using localhost for your server name? What version of MySQL do you have? What Distro to you have?

I tend to think with forums you get what you put in. It seems that you are posting about 1 second after you have a problem which is rather annoying to say the least.

I would suggest taking a look at the documentation for chosen dist, try some things out and see how you get on. Have a search on this forum as im very sure someone has already had the same problem as you and will then find a solution.

When posting try to include as many details as possible as this will help people help you.
 
Old 07-23-2006, 05:16 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Mattar, do have a look at the link I posted recently - it answers this question and many more you have asked. Here it is again:

http://www.linuxhomenetworking.com/#Linux

See chapter 34 for mysql
 
Old 07-23-2006, 09:59 AM   #4
mattar31
Member
 
Registered: Jul 2006
Posts: 32

Original Poster
Rep: Reputation: 15
ok i have updated everything i can update i followed all instructions closely why will it not let me create a user password in mysqld?? it says "connect to server localhost failed" acsess denied (using password NO)" using fedora 5????? any help???? THANX!!!
 
Old 07-23-2006, 04:04 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What are you doing and how are you doing it (eg are you doing things from terminal, if so what commands are you typing)

This should work

#mysql -u root mysql

mysql> UPDATE user SET Password=PASSWORD('typre_password_here_in_single_quotes') WHERE User='root';

mysql> \q
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 04:10 PM
Passwords njschroe SUSE / openSUSE 1 12-13-2004 03:38 PM
Passwords fatcpu Mandriva 2 11-20-2003 02:22 PM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM


All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration