当前位置:首页 > 数据库 >

文章分类:数据库

数据库 Can't connect to local MySQL server through socket &

讲真,我不知道博客的意义是什么,但是众多博主写错误的东西,我就非常不爽了 笔者在django 2.1.8错误修改了mysql事务级别,另外安装了docker重启了防火墙等操作造成了如下错误 Can‘……

数据库 数据库或表编码方式修改

在开发过程中,有很多人在创建数据库时不给指定编码方式,导致在表中插入中文报错,这时需要修改数据库编码或者表的编码方式,下面是具体怎么修改的命令,非常好用 1 查看当前……

数据库 GenericJDBCException: could not execute statement 错误解决

"message":"could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement","status":"500" 1.数据库表主键未设置自增 2.数据库表类型与代码中的 数据类型不相同……

数据库 nested exception is java.sql.SQLException: The server time z

在连接数据库时出现以下异常 : nested exception is java.sql.SQLException: The server time zone value ‘Öйú±ê׼ʱ¼ä‘ is unrecognized 出现原因 : 数据库时区问题 解决办法 : 1. 在终端开启mysql, 输入……

数据库 转:怎么用Sql语句获取一个数据库中的所有表的名字

用sql获取数据库中所有的表名的方法: 1、 oracle 下: select table_name from all_tables; 2、MySQL下: select table_name from information_schema.tables where table_schema=‘csdb‘ and table_type=‘base table‘; 3、sq……

数据库 oracle expdp impdp 导出导入(支持高版本到低版本)

在plsql或sqlplus中创建目录: create or replace directory dmp11g as ‘/home/oracle/dmps3‘; grant read,write on directory dmp11g to system; 导出语句示例: expdp system/ [emailprotected] :1521/dbname directory=dmp11g logfile=……

数据库 Mysql连接池

摘自百度百科: 数据库连接池负责分配、管理和释放数据库连接,它允许应用程序重复使用一个现有的数据库连接,而不是再重新 建立一个;释放空闲时间超过最大空闲时间的数据库……

数据库 Microsoft.Jet.OLEDB.4.0 导入excel报"找不到可安装的ISAM&qu

用使用Microsoft.Jet.OLEDB.4.0导入Excel文件时,报“找不到可安装的ISAM"错误原因: string connstring = " Provider=Microsoft.Jet.OLEDB.4.0; " " Data Source= " fileName " ;Extended Properties=Excel 8.0;;HDR=YES;IMEX=1 " ;……

数据库 mysql索引&实现原理

索引是什么:是一个排序的列表,存储索引字段的值和这个数据对应的物理地址,使用索引字段查询时,不用扫描全表匹配,直接通过索引表找到改行数据对应的物理地址,然后找到对……

数据库 oracle查看表空间大小及使用情况

SELECT a.tablespace_name "表空间名", total "表空间大小", free "表空间剩余大小", (total - free) "表空间使用大小", total / (1024 * 1024 * 1024) "表空间大小(G)", free / (1024 * 1024 * 1024) "表空间剩余大小(G)……