![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
database
文章平均质量分 56
ErrorMaker...
这个作者很懒,什么都没留下…
展开
-
命令行加载csv文件到mysql数据库
如出现以下问题: 1.Loading local data is disabled; this must be enabled on both the client and server sides 2.ERROR3948: Loading local data is disabled - this must be enabled on both the client and server sides 解决办法: 1 登录mysql时: mysql --local-infile=1 -uroot -p 2原创 2021-04-04 00:04:11 · 150 阅读 · 0 评论 -
数据库常用操作:
打开数据库: mysql -hlocalhost -uroot -p ,输入密码即可。 展示所有的数据库: show databases;(不可省略;) 创建一个数据库:create database dbname; 删除数据库:drop database dbname; 使用数据库:use dbname; 创建一个表如下: create table t_book( ISBN char(17), book_name varchar(50), book_author varchar(50), book_pr.原创 2021-03-18 22:13:36 · 364 阅读 · 0 评论