Modify the configuration of pageHelper in MyBatis configuration file
before modifying
<plugins> <plugin Interceptor = " com.github.pagehelper.PageHelper " > <! - Dialect configuration database -> <! - Set database type Oracle, Mysql, MariaDB, SQLite, Hsqldb, PostgreSQL six kinds of databases - -> <Property name = " dialect " value = " MySQL " /> </ plugin> </ plugins>
Modified
<plugins> <plugin Interceptor = " com.github.pagehelper.PageInterceptor " > <! - Dialect configuration database -> <! - Set database type Oracle, Mysql, MariaDB, SQLite, Hsqldb, PostgreSQL six kinds of databases - -> <-! <Property name = " dialect " value = " MySQL " /> -> </ plugin> </ plugins>