sysown / proxysql

High-performance MySQL proxy with a GPL license.
http://www.proxysql.com
GNU General Public License v3.0
6.05k stars 983 forks source link

Try to attach the `stats` schema as `stats` when using a `stats` user #4509

Open renecannao opened 7 months ago

renecannao commented 7 months ago

This is a follow up from https://github.com/sysown/proxysql/issues/4507#issuecomment-2058089626 .

When using a stats user, In SQLite the stats schema becomes the main database. We should evaluate if it is possible to re-attach the stats schema as stats database too, in addition to main

renecannao commented 6 months ago

It seems possible to reattach the same schema multiple times