![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to reset root password of old Unix System V | 82026 | Security | 6 | 01-22-2009 10:23 AM |
| Password reset not being accepted | W.A.C. | Forum Support Area for Unregistered Users & Account Problems | 3 | 12-13-2008 02:37 PM |
| Looking for a script to reset password | soliberus | SUN Solaris | 3 | 05-11-2008 11:15 AM |
| how do you reset Samba root PW w/o knowing it? | mehow | SUN Solaris | 2 | 01-20-2008 06:48 PM |
| I would like to reset my password | matrixmadhan | Post Here to Contact Site Administrators and Moderators | 5 | 04-30-2007 10:46 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Not able to reset mysql root password
Hi,
My root password for mysql has some problem as it dosent allow me to login.... all commands to reset it failed. so I removed mysql yum remove mysql and installed it by yum install mysql mysql-devel mysql-server and it installed fine I gave chkconfig --levels 235 mysqld on started my mysql server and when I give mysqladmin -u root password new_password it throws error mysqladmin: You cannot use 'password' command as mysqld runs with grant tables disabled (was started with --skip-grant-tables). Use: "mysqladmin flush-privileges password '*'" instead I had given a safe mode skip grant command which just hung...could that be a problem....Please let me know what needs to be done. Regards, vijaya. |
|
|||||
|
First, stop and start mysqld. Then login and execute :
Code:
GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY 'topsecret'; |
| Sponsored Links | ||
|
|