mysql数据库大表添加字段问题 首先要停掉业务通过mysql -u用户名 -p密码 数据库名 -N -e "SELECT * from 表名Table_old;" > file.txt 将需要添加字段的表的内容全部导为文件建议一个新表Table_new,语句跟原表一样,并加上对应的字段,先不加索引在通过mysql -u用户名 -p密码 --local-infile=1 数据库名 -e "load data local infile 'file.txt' i... 2019-07-18/ 1699 次浏览/ 数据库教程
error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or 由于yum install iftop提示没有资源,所以直接上传一个iftop命令到/usr/local/bin,但是执行的时候出现iftop: error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory执行步骤如下:1.安装GCC: yum -y install gcc-c++2.安装flex: ... 2019-07-05/ 4151 次浏览/ Linux运维