![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
iteye_19239
这个作者很懒,什么都没留下…
展开
-
图解SQL的Join
对于SQL的Join,知道有outer的,有left的,Select出来的结果集如下假设我们有两张表。student (Table A) 是左边的表。id name1 a2 b3 c4 d teacher (Table B) 是右边的表。id name1 e2 a3 f4 c 其各有四条记录,其中有两条记录是相同的 ...原创 2010-05-07 14:05:54 · 67 阅读 · 0 评论 -
给制定ip用户添加权限
1:grant all privileges on *.* to 用户名@ip identified by "密码";2:flush privileges;原创 2012-02-21 15:43:26 · 207 阅读 · 0 评论 -
无法启动mysql
查看.err文件发现 /usr/local/webserver/mysql//libexec/mysqld: Table 'mysql.plugin' doesn't exist 081118 0:48:44 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 运行mysql...原创 2012-03-29 22:38:17 · 134 阅读 · 0 评论 -
MySQL中导入CSV格式数据的SQL语句
sql如下: load data infile '/tmp/test.csv' into table test_info fields terminated by ',' optionally enclosed by '"' escaped by '"' lines terminated by '\r\n'; (1)字段之间以逗号分隔,数据行之间以\r\n分隔;...原创 2013-03-29 16:08:05 · 198 阅读 · 0 评论