
mysql
先验
菜鸟,很菜的那种
展开
-
SET PASSWORD FOR user1@localhost=PASSWORD('1234');报语法错误
一、错误: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'password('1234')' at line 1 二、原因:猜测是MySQL版本问题,新旧版本语法不同 ...原创 2020-03-22 22:17:48 · 1400 阅读 · 0 评论 -
MySQL查询表结构的两种方式
一、 SQL语法格式 SHOW CREATE TABLE tableName; 例图 二、 SQL语法格式 DESC tableName; 例图原创 2019-06-19 15:42:46 · 345 阅读 · 0 评论