View Full Version : PHPMyAdmin
GPNHosting
01-26-2004, 03:56 PM
When a user attempts to use phpMyAdmin they are asked their login information. I attempted to use this to login but it says that the username and password do not exist. Any ways on fixing this?
ProWebUK
01-26-2004, 04:50 PM
In shell:
mysql -u username -p
If you can login there phpmyadmin should work also... if that doesnt work the mysql user doesnt exist (check in DA that it exists also)
Chris
GPNHosting
01-27-2004, 09:34 AM
ERROR 1045: Access denied for user:
DirectAdmin Support
01-27-2004, 09:53 AM
Hello,
You'll have to double check your username and password then. If in doubt, reset the password.
sample:
mysql -u username_bob -p
Password: secret
John
XenoHosting
02-08-2004, 06:42 PM
how do you reset the passwerd in shell
DirectAdmin Support
02-09-2004, 08:59 AM
Hello,
To set a mysql password in the shell, you have to login into mysql either as root, or da_admin, and then run:
use mysql;
UPDATE user SET password=PASSWORD('newpass') WHERE user='username';
FLUSH PRIVILEGES;
It's much easier to do it via DA :)
John
XenoHosting
02-09-2004, 11:32 AM
well how do i do it in da then
DirectAdmin Support
02-10-2004, 08:59 AM
Hello,
User Panel -> Mysql Database -> db_name -> modify_password -> enter new password twice -> click Save.
John
S2S-Robert
02-13-2004, 11:57 AM
and how do you change it for the main mysql / CP account? The user is able to login using the simple database username, but not using the general username which gives access to all the underlying databases.
I tried changing his control panel password, but that doesn't seem to fix the problem.
DirectAdmin Support
02-14-2004, 12:44 PM
Hmm.. it should...
perhaps go into phpmyadmin as da_admin, go to the mysql database, db table, and make sure that there exists the username on that database.. if not, you may have to run:
GRANT ALL PRIVILEGES ON username_dbname.* TO username@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;John
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.