Reset lampp Mysql password.

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Reset lampp Mysql password.

Postby chetanmadaan » 12. January 2011 17:06

Guys -

i have root access to the server but the guy who originally setup lampp forgot the mysql password.

is there anyway we can reset the root password for the lampp(Mysql).

Thank you!

please note that this post is about resetting the MYsql(phpmyadmin) password and not lampp or any other passwordD
chetanmadaan
 
Posts: 2
Joined: 12. January 2011 16:49

Re: Reset lampp Mysql password.

Postby chetanmadaan » 14. January 2011 16:04

anyone???
chetanmadaan
 
Posts: 2
Joined: 12. January 2011 16:49

Re: Reset lampp Mysql password.

Postby Kristian Marcroft » 30. January 2011 10:56

Hi,

try starting mysqld with the option "--skip-grant-tables"

You may then access mysql without any password as user "root".
Then just set a new password for root and restart mysqld.

Regards
Kristian
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests