A few months ago, I asked a question about how to change the location of a database at runtime . I have not yet received a solution for this problem.
I need to create over 32,000 databases in MySQL. By default, the data location in the MySQL data folder, after creating 32,000 databases in this place, I want to change the data directory to another location. I plan to do this with Java code.
But before that, someone will tell me if this is possible?
I really need to implement this as a requirement. Please help me with this.
I apologize if I do not know what is in this description, but let me know if you need more information.
source share