I can't log into the WP Dashboard because the password I always use is incorrect. I know I can change the user info from hosting account. I logged into cPanel and went to phpMyAdmin > wp_users and proceeded to change user_pass to the appropriate password. I'm back at square 1 because I cannot log in.
you need select md5 encryption, in the function table you select md5, because wordpress use this encryption method for the password.
Image http://tinyurl.com/q3ec792
Please follow the instruction:
Through phpMyAdmin
This article is for those who have phpMyAdmin access to their database.
Note: use phpMyAdmin at your own risk. If you doubt your ability to use it, seek further advice. WordPress is not responsible for loss of data.
Begin by logging into phpMyAdmin and clicking databases.
A list of databases will appear. Click your WordPress database.
All the tables in your database will appear. If not, click Structure.
Look for wp_users in the Table column.
Click on the icon for browse.
Locate your Username under user_login
Click edit (may look like a pencil icon in some versions of
phpMyAdmin)
Your user_id will be shown, click on Edit
Next to the user_pass is a long list of numbers and letters.
Select and delete these and type in your new password.
Type in the password you want to use. Just type it in normally, but
remember, it is case-sensitive.
In this example, the new password will be 'rabbitseatcarrots'
Once you have done that, click the dropdown menu indicated, and
select MD5 from the menu.
Check that your password is actually correct, and that MD5 is in the
box.
Click the 'Go' button to the bottom right.
Test the new password on the login screen. If it doesn't work, check
that you've followed these instructions exactly.
Related
I have recently started to pick up frontend stuffs and been writing a very simple web app for my workplace where each of the users are required to log in. They have already been given a preset account (pattern: Txx, xx stands for staff number) and a password, saved in a MySQL.
login box on UI
input type is password
Log-in was technically workable. Originally as I had set input type = "password" so the password box showed ******** when they did the input on browser.
Nevertheless, when I checked phpMyAdmin page and get into the 'user' table of my DB, where usernames and passwords are saved for PHP checking, I can actually see the password (I logged in with root...)!
blue paints hiding exact numerical passwords the users use
Isn't it supposed that even admin(root?) cannot see the password?
Is it that chrome browser might actually have understood the 'type is password' and encrypted the input and send to PHP which programs to save password on MySQL? (I did not use any functions like md5(xxx) in my HTML codes however...)
Is anything wrong (or should be done) to mySQL setting? Or did Chrome actually NOT encrypt the inputs before sending to PHP?
Chrome does not encrypt the password for you. you have to do it yourself by hashing it when saving it to your database
Read more about it here
http://php.net/manual/en/function.password-hash.php
I want to know how to add user in phpmyadmin , I have done some research but didnot find the proper answer. I am unable to find the privilege section in phpmyadmin so that i can add a username and password . I am working on hosting and i cant see the privilege section in my phpmyadmin main's page.
Sorry for the inconvenience my english is weak
phpMyAdmin does not handle user management, rather it passes the username and password on to MySQL. create mysql User.
and If you mean, users controlling their own database, go here.
From https://wiki.phpmyadmin.net/pma/user_management :
To create a new user, click the Add a new user link near the bottom of the Privileges page (you must be a "superuser", e.g., user "root").
(emphasis mine)
Select the database on the left, then:
phpMyAdmin does handle user management, The fourth tab in the main view, "User accounts". In there, you have the section, "New", there you can add new users.
I was successful in adding user using the "User accounts" tab in the main view (as posted by Kadaiser). All privileges are global. It does not provide a way to grant privileges on any specific database. Also, one must specify the host name of the user for database connection to work (i.e. so and so#% presented connection problems).
I can never get the hang of that phpmyadmin interface.
One easy way to get around it is to click on the 'mysql' database, then click on the link SQL to write your own query:
GRANT ALL PRIVILEGES ON dbname.* TO your-new-user#host-ip IDENTIFIED BY 'his-strong-password';
When the query has run,
FLUSH PRIVILEGES;
and run that query as well.
Both your user has been created and the privileges have been set.
Instead of using the ip address, you can also add a host name if that suits you better.
Using phpMyAdmin I created a user with all permissions granted on prefixed (eg. user_db) databases. Everything works as I would want it to, except for one thing. How do I allow users to drop the prefixed databases they have permissions for? I can't seem to find where to do that, IF that's possible at all.
EDIT:
Note that the users are permitted to drop the database, I just can't seem to find where they should do that in phpMyAdmin as for example the root user would by selecting a database from the list and then clicking 'drop'.
EDIT 2:
This is how adding a user looks for me:
When you select the database, on the right side panel at the top, there is a menu called "Operations", there you can find the "Drop the database (DROP)" option.
You will need to edit your config.inc.php file of your phpMyAdmin with:
$cfg['AllowUserDropDatabase'] = TRUE;
This will show the link on the operation menu like on the above image.
Keep in mind there is a lot other options you can manually add as well that can be seen at http://wiki.phpmyadmin.net/pma/Config#AllowUserDropDatabase
I have an application which uses ms access database with password encryption. The login information is stored within the database (username and password). I double clicked the database file and keyed in the password to see the table list. In a message bar there's a massage stating that the "This database has been opened read-only". Then I tried to set the password into a new value lets say "password1". However, when I re run my application and tried to login using the new password but it fails (only works with the old password).
Does this mean the database here is not used by the application? Or there's a copy of the database somewhere and being referred to ?
I think there may be a password encryption, In this case you can not just modify the password in the database to login. Check your application.
The various things you say are incompatible with each other. Saving a database with encryption does not require a user name, only a password. If you get the password wrong or do not supply it, the database does not open read-only, it does not open at all. If you are using user level security, the user name and password are not stored "within the database", they are stored in an .mdw file.
Try holding the shift key down while you open the database, you must keep it held until the database if fully open, that is, hold the shift key, open the database, type in the password, continue to hold the shift key.
If you are not asked for a password when you hold the shift key, but the file is still read only, check:
Right-click the file and check the properties
Check the folder permissions
If there is a left over .ldb or .laccdb lock file
I've put my database info into Tnsnames.ora, and now each time I start PL/SQL Developer I get a dropdown list of my databases, but I have to type in the password every time.
There is an option under Tools>Preferences to store passwords for multiple connections, but it doesn't seem to have any effect. The password field is always blank when I start the application.
How can I get this to remember the password?
I'm using PL/SQL Developer 9.0.2.1621
Goto:- Tools-->Preferences-->Logon History--> click the check box store with history & store with password.-->Apply.
After you login for the first time, password is saved.
Next time, no need to type, click on the [...] next to the UserName and select database, it will autologon. Hope it helps!
It's 2019 and sqldeveloper is at version 19.2.
In case anyone, as I did, stumbles on this old but still actual question, the answer has become:
right-click on the relevant connection in the left menu and choose Properties
type in the pwd in the relevant input and check "Save Password"
click on Save button
confirm that you want to overwrite the previous description
i found the same issue with 19.1....
go to connection properties, check the box to save password.
enter the password and click save.
close the properties box.
now click save all.
this worked for me.