linux操作:切换root
>sudo su
linux mysql命令行操作
root@fossx:/opt/fossx/conf# sudo mysql -uroot -p
mysql> show database;
mysql> use fossx;
mysql> show tables;
mysql> desc scan_detail;
mysql> alter table scan_matches modify code_snippet longtext;
mysql> exit;
删除表字段
mysql> alter table scan_detail drop column matches;
标签:fossx,sudo,scan,++,mysql,命令行,linux From: https://www.cnblogs.com/wYYBLH/p/16944298.html