PDA

View Full Version : Cant login to admin


furio
4th May 2008, 17:13
Hi. Im VERY fresh to linux.
Just installed mydnsconfig on my fedora 8 server with the help of http://www.howtoforge.org/installing-mydns-mydnsconfig-fedora8.
However when i try to login to admin admin i get Error:
The username and/or password are not correct!1

Guess its also worth mentioning that i f**ked up a little.
As i copyed and pasted
CREATE DATABASE mydns;
GRANT SELECT, INSERT, UPDATE, DELETE ON mydns.* TO 'mydns'@'localhost' IDENTIFIED BY 'mydnspassword';
GRANT SELECT, INSERT, UPDATE, DELETE ON mydns.* TO 'mydns'@'localhost.localdomain' IDENTIFIED BY 'mydnspassword';
FLUSH PRIVILEGES;
quit;
I found out that i had forgotten to change the password, so instead of dealing with it by looking at how to change the password i just typed the same line again with the password i wished...

HUH :confused:

thanks

falko
5th May 2008, 19:20
Please open /usr/share/mydnsconfig/lib/config.inc.php and put in the MySQL password that you initially used in the GRANT commands.

akamarinos
15th January 2009, 11:02
I have the same problem

I've tried everything but I still get

Error:
The username and/or password are not correct!1

when I try to log-in to myDNSconfig



the password in /usr/share/mydnsconfig/lib/config.inc.php is the one I used
with the GRANT commands

falko
16th January 2009, 13:18
Did you try admin:admin?

akamarinos
16th January 2009, 13:34
Did you try admin:admin?

yes
that was the first thing to do

but unfortunetly i get an error

edit

i did a new installation from scratch

and everything is working fine

thanx for your time

LordDraven
24th January 2009, 08:46
Please open /usr/share/mydnsconfig/lib/config.inc.php and put in the MySQL password that you initially used in the GRANT commands.

Hi, I also have the same problem in logging in to the web gui using admin account but it didnt work.

I tried also to edit these:

Database Settings
*/

$conf["db_type"] = 'mysql';
$conf["db_host"] = 'localhost';
$conf["db_database"] = 'mydns';
$conf["db_user"] = 'mydns';
$conf["db_password"] = 'mydnspassword';

/*

I replace $conf["db_password"] = 'mydnspassword'; with the password i used in logging into mysql but still same problem.
Is there anything i can do to fixed this one besides installing from the scratch?

LordDraven
24th January 2009, 10:44
Hi, I also have the same problem in logging in to the web gui using admin account but it didnt work.

I tried also to edit these:

Database Settings
*/

$conf["db_type"] = 'mysql';
$conf["db_host"] = 'localhost';
$conf["db_database"] = 'mydns';
$conf["db_user"] = 'mydns';
$conf["db_password"] = 'mydnspassword';

/*

I replace $conf["db_password"] = 'mydnspassword'; with the password i used in logging into mysql but still same problem.
Is there anything i can do to fixed this one besides installing from the scratch?

Nevermind, I already got the solution ^^

Stenna
4th February 2009, 07:55
you can try admin admin or admin123
try it .may be it proves useful for you :)

LordDraven
4th February 2009, 11:00
you can try admin admin or admin123
try it .may be it proves useful for you :)

Ok thanks Stenna. I already got the solution i just reconfig some db files :p

albertjr
30th April 2009, 16:46
we have the same problem here...I don't know the password of the admin..hehe

____________________________________
Career Tips and Guide (http://www.ichatcareers.com/)