Build Your Own Database-Driven Website Using PHP MySQL [Electronic resources]

Kevin Yank

نسخه متنی -صفحه : 190/ 117
نمايش فراداده

SET

SET option = value, ...

The SET query allows you to set a number of options both on your client and on the server.

The most common uses of the SET OPTION query are changing your password,

SET PASSWORD = PASSWORD('new_password')

and changing another user’s password (if you have appropriate access privileges).

SET PASSWORD FOR user = PASSWORD('new_password')

For a complete list of the options that may be SET, refer to the MySQL Reference Manual.