1. 修改表的编码方式:ALTER TABLE `test` DEFAULT CHARACTER SET utf8;该命令用于将表test的编码方式改为utf8; 

   修改字段的编码方式:ALTER TABLE `test` CHANGE `name` `name` VARCHAR(36) CHARACTER SET utf8 NOT NULL; 该命令用于将表test中name字段的编码方式改为utf8

   参见:https://www.cnblogs.com/kongxc/p/6322154.html

2. mac 和 linux 传文件:

   1). 从本地将文件传输到服务器

        scp /Users/mac_pc/Desktop/test.png root@192.168.1.1:/root

   2). 从本地将文件夹传输到服务器

        sup -r /Users/mac_pc/Desktop/test root@192.168.1.1:/root

   3). 将服务器上的文件传输到本地

        scp root@192.168.1.1:/data/wwwroot/default/111.png /Users/mac_pc/Desktop

   4). 将服务器上的文件夹传输到本地

        scp -r root@192.168.1.1:/data/wwwroot/default/test /Users/mac_pc/Desktop

    参见:https://blog.csdn.net/aa294194253/article/details/50054723

 

 

<script type="text/javascript">

  • $(document).ready(function(){
  • alert("登录成功!");
  • })
     
  • </script>

相关文章:

  • 2021-08-13
  • 2021-07-14
  • 2021-08-29
  • 2021-11-26
  • 2021-07-03
  • 2021-12-26
  • 2022-12-23
  • 2021-05-20
猜你喜欢
  • 2021-10-13
  • 2021-10-16
  • 2021-06-12
  • 2021-05-12
  • 2021-09-01
  • 2021-08-25
相关资源
相似解决方案