Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7552617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:49:37+00:00 2026-05-30T10:49:37+00:00

http://dev.mysql.com/doc/refman/5.1/en/encryption-functions.html#function_password – the documentation says that mysql> SELECT PASSWORD(‘badpwd’); -> ‘*AAB3E285149C0135D51A520E1940DD3263DC008C’ But I get:

  • 0

http://dev.mysql.com/doc/refman/5.1/en/encryption-functions.html#function_password – the documentation says that

mysql> SELECT PASSWORD('badpwd');
    -> '*AAB3E285149C0135D51A520E1940DD3263DC008C'

But I get:

 > SELECT PASSWORD('badpwd')
-> 7f84554057dd964b

MySQL version: 5.1.56-log through PHP extension MySQLi, Linux

Is it a mistake in docs?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:49:38+00:00Added an answer on May 30, 2026 at 10:49 am

    It’s not a mistake in the documents. I just verified on my MySQL 5.1.x instance:

    SELECT PASSWORD('badpwd');
    
    PASSWORD('badpwd')-> *AAB3E285149C0135D51A520E1940DD3263DC008C
    

    Would it be possible to see your full PHP example, to potentially better pinpoint the issue?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking at this documentation http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_maketime And I KNOW I must be missing it,
I have read the documentation ( http://dev.mysql.com/doc/refman/5.1/en/partitioning.html ), but I would like, in your
On the manual page; http://dev.mysql.com/doc/refman/5.0/en/mysql-insert-id.html It is said that Returns the value generated for
I got the following stored procedure from http://dev.mysql.com/doc/refman/5.1/en/functions-that-test-spatial-relationships-between-geometries.html Does this work? CREATE FUNCTION myWithin(p
There is a statement in the MySQL Docs ( http://dev.mysql.com/doc/refman/5.0/en/adding-udf.html ) that is bothering
I have a mysql fulltext question. Refrence on: http://dev.mysql.com/doc/refman/5.0/en/fulltext-boolean.html SELECT * FROM table WHERE
http://dev.mysql.com/doc/refman/5.0/en/internal-locking.html The following is the extract from the documentation. mysql> LOCK TABLES real_table WRITE,
http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_inet-aton I want to store users IP's in numerical values in my db. The
It's not explicitly mentioned in the documentation ( http://dev.mysql.com/doc/refman/6.0/en/drop-table.html ). I ask because I
The MySQL manual (http://dev.mysql.com/doc/refman/5.1/en/charset-syntax.html) says: There are default settings for character sets and collations

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.