ADD RESOURCE

    Syntax

    • Before adding resources, please confirm that a database has been created in Proxy, and execute the use command to successfully select a database;
    • Confirm that the added resource can be connected normally, otherwise it will not be added successfully;
    • resourceName is case-sensitive;
    • resourceName needs to be unique within the current database;
    • resourceName name only allows letters, numbers and _, and must start with a letter;
    • When password contains special characters, it is recommended to use the string form; For example, the string form of password@123 is "password@123".

    Example

    • Add resource using standard mode
    • Add resource and set connection pool parameters using standard mode
    • Add resource and set connection pool parameters using URL patterns

    ADD, RESOURCE, , PORT, DB, USER, PASSWORD, PROPERTIES, URL