数据库
Lynne98
一个菜鸡
展开
-
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so查看:https://blog.csdn.net/qq_39231231/article/details/116069614原创 2021-04-23 20:36:57 · 300 阅读 · 0 评论 -
Mac os 下Mysql导出csv文件问题汇总
Mac os 下Mysql导出csv文件问题汇总1、无法导出csv文件报错:ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so配置文件的问题SHOW VARIABLES LIKE “secure_file_priv”;如果显示NULL则需要访达下command+shift+G输入 /etc然后找到my.cnf如果没有就要创建一个创建内容就写:# Example My原创 2021-04-23 20:28:01 · 497 阅读 · 0 评论 -
数据库作业
转格式程序#include <iostream>#include <string.h>#include <map>#include <stdio.h>#include <iostream>#include <string.h>#include <algorithm>#include <c原创 2018-04-07 15:48:26 · 130 阅读 · 0 评论 -
sql server 如何导入数据库
两个文件,一个扩展名为.mdf,一个扩展名为.ldf的文件。如果想把数据库导入到SQL Server里面,这两个文件都要拷贝过来。右键查看属性。复制地址。在我的电脑里面搜索。把需要导入的文件放在这个文件夹里。回到sql sever里然后选择附加。其实可以跳过前面的步骤直接添加的。但是。可能u盘退出这里面的也没有了。所以还是找到c盘里面的那个地址。分离数据库。在 任务-->分离。...原创 2018-04-03 16:43:53 · 28913 阅读 · 2 评论 -
总结一
调用某表use 表名一、选择表中的若干列1.查询指定的列 ex1:查询全体学生的学号与姓名,(系别) select Sno,Sname,sdept from s ; ex2:查询全部列 select sno,sname,ssex,sdept,sage from s; == select * from s; ex3:查询经过计算的列 //查询全体学生的学号,姓名...原创 2018-04-05 19:10:07 · 135 阅读 · 0 评论