New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

MySQL password retardation


Post Reply New Thread Subscribe

 
Thread Tools
mrtojamura
Guest
 
Posts: n/a

Gosh darnit!

Does anyone have any clue why I am having problems setting the root password for mysql?

I've been following the hand-dany tutorial on the O'Reilly website about Apache/PHP/MySQL but have gotten stuck on a seemingly basic problem. Having installed mysql ok when I go to set the root user password using these two recommended commands:

/usr/local/mysql/bin/mysqladmin -u root password <password>
/usr/local/mysql/bin/mysqladmin -u root -h `hostname` password <password>

The first command works fine but the second brings up an error:

connect to server at 'pd.local.' failed
error: 'Host '192.168.2.36' is not allowed to connect to this MySQL server'

Anyone have a clue why?

Might it be because of the IP address of the host being on a LAN?

I've searched around and can't find any advice.... anyone?
QUOTE Thanks

Post Reply New Thread Subscribe


« C++ preprocessor fails sanity check | trying to figure out darwin »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
ethernet password probelms digirep Switcher Hangout 3 04-30-2006 01:14 PM
Any MySQL users (gurus) out there? mgm_03 OS X - Development and Darwin 5 05-03-2004 05:51 PM
Forgot login password in OS X..HELP! kevlar OS X - Operating System 2 12-31-2003 12:55 AM
Setting up mysql!! thebryster OS X - Operating System 4 12-17-2003 01:44 AM

All times are GMT -4. The time now is 08:00 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?