Function to create a new MySQL connection pool with the given user role.
This function performs the following operations:
The connection pool is configured to wait for connections if they are all in use, and has a connection limit of 10000 and a queue limit of 0.
Will throw an error if the user role is invalid.
The role of the user for the database connection.
The created MySQL connection pool.
Function to create a new MySQL connection pool with the given user role.
This function performs the following operations:
The connection pool is configured to wait for connections if they are all in use, and has a connection limit of 10000 and a queue limit of 0.
Throws
Will throw an error if the user role is invalid.