(1)先關閉mysql服務, sudo service mysql stop
(2)找到mysql的配置文件my.cnf(安裝方式不同目錄可能不同,我的在/usr/my.cnf),添加如下配置:
character_set_server = utf8
init_connect='SET NAMES utf8'
(3)重啓mysql服務,查看編碼
show variab
一.Next.js 簡介
The React Framework for Production
面向生產使用的 React 框架(廢話)。提供了好些開箱即用的特性,支持靜態渲染/服務端渲染混用、支持 TypeScript、支持打包優化、支持按路由預加載等等:
Next.js gives you the best developer experience with all the features