Documentation Home
MySQL 9.2 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.5Mb
PDF (A4) - 40.6Mb
Man Pages (TGZ) - 259.6Kb
Man Pages (Zip) - 366.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


MySQL 9.2 Reference Manual  /  ...  /  DROP LIBRARY Statement

15.1.29 DROP LIBRARY Statement

Press CTRL+C to copy
DROP LIBRARY [IF EXISTS] [database.]library

Drops the named JavaScript library. An optional database name may be specified; otherwise, the current database is assumed.

To execute this statement, the user must have the ALTER ROUTINE privilege. A library created by a user with the SYSTEM_USER privilege can be dropped only by a user having the same privilege.

DROP LIBRARY was added in MySQL 9.2.0.

See Section 27.3.8, “Using JavaScript Libraries”, for more information and examples.