#1  
Old 23rd July 2009, 00:32
cobro cobro is offline
Member
 
Join Date: Apr 2008
Location: Right here
Posts: 43
Thanks: 22
Thanked 2 Times in 1 Post
Default Forgot my admin password :(

I have been looking into lost admin password here and all say that i have to connect to phpmyadmin and change the password from there but here is the funny thing i cannot connect to phpmyadmin from my browser this is what i get

Forbidden

You don't have permission to access /phpmyadmin on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

but i have root accsess to the server i am the owner of the box can i do somthing within putty ?

any help would be appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 23rd July 2009, 09:46
Gleno0h Gleno0h is offline
Junior Member
 
Join Date: Apr 2009
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by cobro View Post
I have been looking into lost admin password here and all say that i have to connect to phpmyadmin and change the password from there but here is the funny thing i cannot connect to phpmyadmin from my browser this is what i get

Forbidden

You don't have permission to access /phpmyadmin on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

but i have root accsess to the server i am the owner of the box can i do somthing within putty ?

any help would be appreciated.
try this;

Code:
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables &
mysql -u root
you should now see
Code:
mysql>
then;
Code:
use mysql;
update user set password=PASSWORD(”Yourpasswordherethatyouwant”) where user=’root’;
flush privileges;
quit
/etc/init.d/mysql stop
/etc/init.d/mysql start
mysql -u root -p
enter the pass you just made .. let me know if it worked, got it from google
Reply With Quote
The Following User Says Thank You to Gleno0h For This Useful Post:
cobro (23rd July 2009)
  #3  
Old 23rd July 2009, 10:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

Quote:
Originally Posted by cobro View Post
You don't have permission to access /phpmyadmin on this server.
Please try www.yourserver.com:8080/phpmyadmin

and make sure that you installed phpmyadmin before.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cobro (23rd July 2009)
  #4  
Old 23rd July 2009, 20:41
cobro cobro is offline
Member
 
Join Date: Apr 2008
Location: Right here
Posts: 43
Thanks: 22
Thanked 2 Times in 1 Post
Default

no that did not work for me

[root@box1 ~]# /etc/init.d/mysql stop
-bash: /etc/init.d/mysql: No such file or directory
[root@box1 ~]# /etc/init.d/mysql stop
-bash: /etc/init.d/mysql: No such file or directory
[root@box1 ~]# mysqld_safe --skip-grant-tables &
[1] 3698
[root@box1 ~]# mysql -u rootA mysqld process already exists

but if you could help me to get my phpmyadmin and webmail working that would be grate
Reply With Quote
  #5  
Old 23rd July 2009, 21:45
cobro cobro is offline
Member
 
Join Date: Apr 2008
Location: Right here
Posts: 43
Thanks: 22
Thanked 2 Times in 1 Post
Default

i went out the backdoor with this if you have absolutely nothing on your server i mean no domains and anything not hosting anything than this is the best way you can fix this

and if you have root privilege on the server your box then just ssh this

Code:
mysql -uUSERNAME -hHOST -pPASSWORD
Replace USERNAME, HOST and PASSWORD with your actual username, host (database server) and password.

and then

Code:
DROP DATABASE database_name;
database_name would be dbispconfig

to delete the database from the mysql server

and then just run installer again and you are done

Code:
cd /tmp
wget http://downloads.sourceforge.net/ispconfig/ISPConfig-3.0.1.3.tar.gz?use_mirror=
tar xvfz ISPConfig-3.0.1.3.tar.gz
cd ispconfig3_install/install/

php -q install.php
Reply With Quote
Reply

Bookmarks

Thread Tools
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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
forgot the ISPConfig admin password chikeung.ho General 1 26th September 2008 08:40
I forgot my admin password :( badgerbox76 Installation/Configuration 6 21st January 2007 14:59
Rename folder -> create new folder equals contents of old folder BlueStream General 20 15th December 2006 03:32
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40
ISPConfig admin Password linuxuser1 Installation/Configuration 2 21st October 2005 13:38


All times are GMT +2. The time now is 22:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.