If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > newbie hell - a question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-26-04, 17:48
mitya mitya is offline
Registered User
 
Join Date: Oct 2004
Posts: 3
newbie hell - a question

OK this is a problem. I can't even get up and running because as soon as I set a root password I have problems.

I set a root password by doing the following in a command line:

E:/path/to/mysqladmin -u root password 'mypass'

That works fine, well at least it doesn't moan, shall we say. In fact it doesn't say anything.

But then if I try and CHANGE the root password, to check it's worked, it tells me it fails to connect or my access is deined. The code I'm using for that is:

E:/path/to/mysqladmin -u root -p mypass2

To be honest most things aren't working... I tried setting the root user password in PHPmyadmin instead, but after doing so, and going back to it, it says it's failed. Can anyone help?

Thanks in advance.

p.s. I did read something about it having a problem specifying between localhost and 127.0.0.1... don't know if that's relevent?
Reply With Quote
  #2 (permalink)  
Old 10-27-04, 05:41
RBARAER RBARAER is offline
Registered User
 
Join Date: Aug 2004
Location: France
Posts: 754
Hello,

Well, have a look just two threads earlier than yours :

http://www.dbforums.com/t1050195.html

Regards,

RBARAER
Reply With Quote
  #3 (permalink)  
Old 11-03-04, 18:11
JohnStrecker JohnStrecker is offline
Registered User
 
Join Date: Sep 2004
Posts: 39
To > connect < I type

Mysql -u (my Id) -p(my password)

Notice there is no blank between "-p" and the password althoug there is one between -u and "my ID". I noticed there is a blank in your command.

HTH

Jean in Brussels
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On