Mybatis generator generates a model of all the databases in the mysql server.

mybatis generator generates a model of all the databases in the mysql server, and I only need to generate one of them.

The

configuration is configured as follows:
https://www.jianshu.com/p/5c8...

the difference is that the mysql server in the tutorial should be 5.x. I use 8.x. Some configurations are different, for example:

The busbook database has been specified on

url, but the result generated is for all databases. How can we make it generate only the specified database?


clipboard.png

<table schema="dbname" tableName="%">
</table>

it is possible that the permissions of mysql users are too large. It is recommended to use a user with only busbook permissions to try


. Has the landlord solved it?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e490c9-44245.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e490c9-44245.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?