常用mysql语句

2018-10-16 19:09:45 xhs
\G 垂直显示 SELECT report_id FROM `weekly_report_content` WHERE report_id IN (381395,381437,380576,381359,381...

UPDATE语句写错了

2018-09-06 10:54:32 xhs
想更新物品数量,本来是9,需要减5,并且更新时间 SQL写成这样 UPDATE user_borrow_goods SET num=num-5 AND update_time=1535363307 WHERE...

mysql可连接IP

2019-01-31 13:40:36 xhs
mysql> insert into user (host,user,password, ssl_cipher, x509_issuer,x509_subject) values('192.168.3.%','r...

安装mysql5.6,5.7

2019-06-14 16:55:57 xhs
rpm -ivh http://repo.mysql.com/yum/mysql-5.5-community/el/6/x86_64/mysql-community-release-el6-5.noarch....