LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-22-2004, 07:50 AM   #1
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
MySql password problem right after installing on mandrake


hey guys,
I have been testing out mandrake for our offices web server.I have just installed the machine and have finished configuring apache,samba and PHP.
I am now stuck at mysql.
I download the rpms from mysql's site and install them using rpm -Uvh
after installing the mysql server the installer gives me this message:
Code:
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost password 'new-password'
See the manual for more instructions.
After installing the client(and starting the deamon) i issue this command:
Code:
mysqladmin -u root password mandrake
and i get an error message like this:
Code:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: YES)'
I have tried many different version of this using mysql -u root -p and then enetering this password and some other ways too(i have tried so many id otn remember them now).
I checked the running processes and saw that mysqd was running under user mysql and so i did:
mysql -u mysql -p
that did not work either.
I am really frustrated now.I have been on this case for the last 5 hours and have entered probably all the possible combination of searches in google.
my my.cnf file has the password i am trying to put(just so that is clear too).
my final aim is to use mysql through phpmyadmin.
can someone please help me with this.
thanks
 
Old 07-26-2004, 06:50 AM   #2
c0007031
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Pass is '123456'

Hi,

By default the password is '123456'.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql password problem (need to erase old) runlevel0 Programming 1 07-27-2005 01:22 PM
MYSQL password problem. osat3ch Linux - Software 2 08-20-2004 09:00 AM
mysql password problem varala_kanth Linux - Newbie 1 06-10-2004 03:19 AM
Mysql Password Problem Flossie Linux - Software 6 04-09-2004 03:22 AM
mysql - problem with start and password CharlesButters Linux - General 0 11-09-2001 03:15 PM


All times are GMT -5. The time now is 02:29 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration