
数据库
java_1992
你好,世界。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘rpps.SYS_ORG‘ doesn‘t exist
1、新导入一份sql文件,然后再登录项目,异常日志提示表不存在 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'rpps.SYS_ORG' doesn't exist 2、查看数据库,此表还在也没有修改过 3、mysql表名全是小写,但是查询语句里面却是大写的,代码也未动过 4、应该是设置一下mysql忽略大小写即可 命令如下: #编辑mysql配置文件 vi /etc/my.cnf #在my.c原创 2020-09-15 15:14:06 · 431 阅读 · 0 评论 -
ora-00911: 无效字符 --使用jdbc查询数据库数据时控制台报错
使用原生的jdbc 查询数据库的数据,在pl/sql的窗口上查询时,能查到数据,但把sql语句粘贴到代码就执行就报错了 SELECT nvl(gspt.FOCA_DATE, '') FOCA_DATE, nvl(gspt.FOCA_TIME, '') FOCA_TIME, nvl(info.FARM_NUMB, '') FARM_NUMB, nv原创 2017-04-20 15:54:53 · 2940 阅读 · 0 评论 -
mysql查询数据时,按照时间分组求和
1、查询时,同一时间点有多条数据 SELECT date_format(ctime, '%Y-%m-%d %H:%i:%s') ctime, mode_num as mode_num, nose_num_real as nose_num_real, t2.num as num , capacity, limitPower FROM rpps_prod_minute_theory原创 2017-10-10 10:58:55 · 10101 阅读 · 0 评论 -
This is a prerequisite condition to test whether sufficient total swap space is available on system
This is a prerequisite condition to test whether sufficient total swap space is available on the system. (more details) Expected Value : 15.64GB (1.6403472E7KB) 16400000 Actual Value : 4.87GB (转载 2017-12-02 18:09:35 · 11080 阅读 · 1 评论 -
sqlplus: command not found
1、安装oracle的时候,先使用的脚本文件创建oracle用户,并配置环境变量,然后安装的时候,发现默认路径下内存太小,就改到其他的文件路径下了,然后 2、切换到oracle用户 su - oracle 3、执行命令sqlplus /nolog -bash: sqlplus: command not found 4、查询oracle_home和 path原创 2017-12-26 15:36:10 · 4582 阅读 · 0 评论 -
安装oracle 11g,Hard limits for "maximum open file descriptors"
安装oracle 11g 报错 1、进入/etc/security/limits.conf vi /etc/security/limits.conf 2、在最后一行插入,报错信息需要多大就写多大,我这里是65536 * hard nofile 65536 3、执行ulimit -a命令,让修改生效 ulimit -a原创 2017-12-18 15:55:55 · 5090 阅读 · 0 评论 -
this is a prerequisite condition to test whether the package"compat-libstdc++-33-3.2.3-61.x86_64"
安装oracle11g,提示缺compat-libstdc++-33-3.2.3-61.x86_64,从网下下载compat-libstdc++-33-3.2.3-61.x86_64.rpm 文件,然后,安装 1、安装 [root@localhost home]# rpm -ivh compat-libstdc++-33-3.2.3-61.x86_64.rpm warning: c原创 2017-12-18 16:33:46 · 4837 阅读 · 0 评论 -
mysql无法启动,Error: page 13476 log sequence number xxxx
1、服务器状况,mysql无法启动,日志提示Error: page 13476 log sequence number2、使用service mysql start命令启动mysql失败3、查询mysql的日志文件localhost.localdomain.err,提示Error: page 13476 log sequence number 509612222234、查询资料和解决办法5、编辑m...原创 2018-05-29 16:36:11 · 7608 阅读 · 1 评论