Updates to multiple databases - mysql
P粉129731808
2023-08-27 11:15:21
<p>I am new to mysql.
I have a list of 10 databases containing the same table structure.
The same table needs to be updated for each database.
Is there an option to do it through phpmyadmin without selecting each database? </p>
<p>Or is there a function similar to: <code>USE LIKE gc%</code>? </p>
If you need to update the original data, you can do the transaction like this. You can't escape the fact that you need to make 10 different queries.