第一种: INSERT INTO tb_name [(col1,col2,....)] {VALUES|VALUE} (val1,val2,...)[,(val21,val22,..),...]第二种: INSERT INTO tb_name SET col1=val1,col2=val2,...第三种: INSERT INTO tb_name...【阅读全文】
~/.mysql_history文件中记录每个用户使用数据库的操作命令root用户的mysql操作,~/.mysql_historytransfor用户的mysql操作,/home/transfor/.mysql_history[root@cp-mysql01-new ~]# tail -20 /root/.mysql_history show variables like '%resolve%';show variables like '%connect...【阅读全文】