Pak Jiddat

Read: In the name of thy Lord Who createth, Createth man from a clot. Read: And thy Lord is the Most Bounteous, Who teacheth by the pen, Teacheth man that which he knew not. Nay, but verily man is rebellious That he thinketh himself independent!. Lo! unto thy Lord is the return. (Sura Alalaq 96:8)

MariaDB/MySQL user password not being set

Created On: 24 Nov, 2017: 10:33:25 - Tags : database management


If you have problems with setting the user password on MariaDB or MySql, for example you set the user password and are not able to login with the new password, then the problem may be caused because the database user is configured to use the wrong authentication plugin. For example unix_socket plugin instead of the default authentication scheme.

The solution is to set the plugin field in the user table of the mysql database to empty value. This will cause the MySQL/MariaDB server to authenticate the database user with the default authentication scheme.

Related Articles

  1. Removing ONLY_FULL_GROUP_BY sql mode
  2. Upgrading Postgresql from version 9.4 to 9.6
  3. Upgrading MySQL server from version 5.6 to 8.0
  4. Ignoring errors during MySQL import
  5. Sorting a MySQL string column as a number
  6. MySQL server out of resources
  7. MySQL Tuner
  8. Create backup of Mongo Db database
  9. Deleting a Mongo Db database
  10. Restoring a database backup in Plesk
  11. How to login to MySQL server as root user on Plesk
  12. List all databases for Postgresql
  13. Solution for mysql header mismatch error
  14. Backing up and Restoring MongoDB data
  15. Removing Replication in MongoDb
  16. Exporting Mysql database data in CSV format using Mysql Work Bench