OLD_PASSWORD()

Overview

Returns an encrypted string using the old implementation of PASSWORD() (pre-MySQL 4.1).

USAGE

OLD_PASSWORD(string)

Argument Name

Description

string

The string to transform

DETAILS

OLD_PASSWORD() is an encryption function that returns an encrypted string using the old implementation of PASSWORD() (pre-MySQL 4.1).

An encrypted string value is 16-bytes in length.

A NULL is returned if the argument is NULL.

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

SELECT OLD_PASSWORD('MariaDB42!');
+----------------------------+
| OLD_PASSWORD('MariaDB42!') |
+----------------------------+
| 0732aa4d6a3a72a8           |
+----------------------------+
SELECT PASSWORD('MariaDB42!');
+-------------------------------------------+
| PASSWORD('MariaDB42!')                    |
+-------------------------------------------+
| *07A469684341365CDFBADCAEF5FCD6B57F881A9A |
+-------------------------------------------+

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.09

  • Present starting in MariaDB Xpand 23.09.1.

6.1

  • Present starting in MariaDB Xpand 6.1.0.

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.1

  • Present starting in MariaDB Xpand 6.1.0.

EXTERNAL REFERENCES