LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-27-2008, 07:51 AM   #1
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Rep: Reputation: 15
Fedora perfect setup server and MySql


This is in the how to by Falko at howtoforge.com

If I do both of the following commands I run into problems and get locked out of mysql.

Should I be only doing the first one to set a pwd for the root.

mysqladmin -u root password yourrootsqlpassword
mysqladmin -h server1.example.com -u root password yourrootsqlpassword

Thanks

Chris
 
Old 08-27-2008, 10:21 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
you actually need the single quotes (I think?). For example,

Code:
mysqladmin -u root password '1337password'
Then once you do that, you can test

Code:
mysql -u root -p

Last edited by Micro420; 08-27-2008 at 10:23 AM.
 
  


Reply



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
LXer: Perfect DjbDNS Setup On Ubuntu Server 8.04 (amd64) Hardy LXer Syndicated Linux News 0 07-14-2008 05:21 AM
LXer: The Perfect Server - Fedora 7 LXer Syndicated Linux News 0 06-21-2007 04:16 PM
HOWTO--The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) pigswillfly Ubuntu 5 12-19-2006 07:26 AM
LXer: The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) LXer Syndicated Linux News 0 10-29-2006 07:33 AM
LXer: The Perfect Setup - Fedora Core 5 LXer Syndicated Linux News 0 04-17-2006 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:43 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
Open Source Consulting | Domain Registration