自動(dòng)生成表出現(xiàn)錯(cuò)誤
實(shí)在不知道錯(cuò)誤在哪里。
?<property name="connection.url">jdbc:mysql://localhost:3306/teststudent?useUnicode=true&characterEncoding=UTF-8</property>
這個(gè)格式會(huì)有錯(cuò)嗎
實(shí)在不知道錯(cuò)誤在哪里。
?<property name="connection.url">jdbc:mysql://localhost:3306/teststudent?useUnicode=true&characterEncoding=UTF-8</property>
這個(gè)格式會(huì)有錯(cuò)嗎
舉報(bào)
2018-06-20
<property name="connection.url">jdbc:mysql://localhost:3306/數(shù)據(jù)庫(kù)實(shí)例名</property>這樣就可以了,新建動(dòng)態(tài)項(xiàng)目之后要修改編碼UTF-8,安裝mysql時(shí)候語(yǔ)言選utf-8,會(huì)后你上面的語(yǔ)句就不用設(shè)置utf-8了。