-- 查看字符编码
show variables like '%char%'

-- 设置mysql自带客户端的编码
set character_set_client = gbk
set character_set_results = gbk

-- 查看命令行当前状态
\s

-- 启动mysql服务
linux下: %>cd INSTALL-DIR
          %>./bin/mysql_safe -- user=mysql &
windows下: net start mysql

-- 关闭mysql服务
mysqladmin -u root -p shutdown

Enter password ******


-- 插入自身数据(测试大数据量时使用)

insert into t_student select * from t_student

 

相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2021-09-05
  • 2021-07-17
  • 2021-07-18
  • 2021-12-09
  • 2022-01-04
  • 2021-12-22
猜你喜欢
  • 2021-08-17
  • 2021-07-12
  • 2021-08-09
  • 2021-12-01
  • 2021-06-07
  • 2021-07-14
  • 2021-08-30
相关资源
相似解决方案