首页 > 数据库技术
从excel导入mySQL
刚刚学习mysql,尝试从外部文件导入record,刚好现成有excel表格,学习了从excel导入mysql。参考http://hi.baidu.com/harite/item/963e9f3f6fe905637d034b6a但是载入时只能载入一行,又自己研究了下,应该是lines termina...
分类:数据库技术   时间:2015-03-23 01:51:01    收藏:0  评论:0  赞:0  阅读:230
PostgreSQL Configuration Files --PostgreSQ配置文件
Three main configuration files control basic operations of a PostgreSQL server instance. These files are all located in the default PostgreSQL data folder. You can edit them using your text editor ...
分类:数据库技术   时间:2015-03-23 00:29:41    收藏:0  评论:0  赞:0  阅读:392
Sqlserver创建连接MySql的链接服务器
第一步:在MySql服务器上安装与系统对应的 MySql-Connector-ODBC官方下载地址安装过程中可能会报缺失 msvcr100.dll的错误,这需要你根据系统到网上下载对应的这个dll文件。(当初遇到这个问题的时候,在网上试了很多的这种文件 最后才找到一个合适自己的)第二步:设置MySq...
分类:数据库技术   时间:2015-03-23 00:17:20    收藏:0  评论:0  赞:0  阅读:482
php导出mysql源码
件名:db_backup.php 源代码如下:复制代码 代码如下: 转自http://www.jb51.net/article/45352.htm
分类:数据库技术   时间:2015-03-23 00:14:10    收藏:0  评论:0  赞:0  阅读:370
万能模糊查询SQL
******************************************************************* 功能:万能模糊查询SQL* 时间:2015/1/30 16:00:22* 开发者:流浪的菜鸟* 需求来源:要查询系统数据库中,有某些特殊字段是否存在。* 实现思路 ...
分类:数据库技术   时间:2015-03-23 00:13:50    收藏:0  评论:0  赞:0  阅读:369
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode
[spring]:org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode org.springframework.dao.Invali...
分类:数据库技术   时间:2015-03-23 00:13:00    收藏:0  评论:0  赞:0  阅读:390
OpenSessionInViewFilter与org.springframework.dao.InvalidDataAccessApiUsageException
报错:org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your ...
分类:数据库技术   时间:2015-03-22 23:53:30    收藏:0  评论:0  赞:0  阅读:377
MAC下用homebrew安装及配置apache、php和mysql
--- title: MAC下用homebrew安装及配置apache、php和mysql date: 2015/03/22 20:07:00 tags: homebrew --- 我们用到php运行环境的时候总喜欢用集成包,其实在mac下,用homebrew也可以很快的安装这些东西,配置也很...
分类:数据库技术   时间:2015-03-22 22:47:51    收藏:0  评论:0  赞:0  阅读:411
Ubuntu 14.04Install DB2
Installdependencypackages:$sudoapt-getinstalllibstdc++6:i386 $sudoapt-getinstalllibpam0g:i386 $sudoapt-getinstalllibaio1Uncompressthetarball:$tar-xfv10.5_linuxx64_expc.tar.gz $cdexec $sudo./db2setupNext,...$su-db2inst1 $cdsqllib $.db2profile $db2start $db2s..
分类:数据库技术   时间:2015-03-22 22:40:01    收藏:0  评论:0  赞:0  阅读:425
SQL Server 2014 E-Book 电子书下载列表
SQLServer2014E-BookSQLServer管理系列:GettingStartedwithSQLServer2014AdministrationMicrosoftPressebookIntroducingMicrosoftSQLServer2014SQLServer开发系列:SQLServer2014DevelopmentEssentialsSQLServer商业智能系列:ProfessionalMicrosoftSQLServer2014IntegrationS..
分类:数据库技术   时间:2015-03-22 22:39:41    收藏:0  评论:0  赞:0  阅读:461
通过LVM快照在线备份MySQL
RHEL6.6mysql-5.5.28文件系统快照是一种非常好用的在线备份方法,特别是我们再升级过程中遇到问题需要回退的状况下。我们可以事先创建一个镜像,如果升级失败,只要回滚就可以了。使用LVM快照备份原因:1>几乎可以实现热备,无须关闭服务。2>支持所有的mysql存储引擎,如..
分类:数据库技术   时间:2015-03-22 22:39:01    收藏:0  评论:0  赞:0  阅读:362
Oracle范围分区应用实例
概述范围分区(Rangepartition):就是根据表的某个字段的值,以固定的一个范围作为一个分区来划分数据。实例:创建销售部门销售数据清单表:createtablesales_list(order_idnumber(5),sales_namevarchar2(20),order_amountnumber(10),order_datedate)partitionbyrange(order_dat..
分类:数据库技术   时间:2015-03-22 22:38:21    收藏:0  评论:0  赞:0  阅读:430
SQL Server 2014 Whitepaper 白皮书下载列表
SQLServer2014WhitepaperAnalysisServicesMOLAPPerformanceGuideforSQLServer2012and2014 BestPracticesforRunningSQLServerwithHVDM FitmentofHekatonagainstRPMSQLServer2014CTP1 IdleConnectionResiliency InMemoryOLTP_WorkloadPatternsandMigrationConsiderations Introdu..
分类:数据库技术   时间:2015-03-22 22:36:21    收藏:0  评论:0  赞:0  阅读:315
启动mysqld时报ERROR! The server quit without updating PID file (/data/mysql/103.localdomain.pid).
启动mysqld时报ERROR!TheserverquitwithoutupdatingPIDfile(/data/mysql/103.localdomain.pid).1、可能是/usr/local/mysql/data/mysql.pid文件没有写的权限解决方法:给予权限,执行“chown-Rmysql:mysql/var/data”“chmod-R755/usr/local/mysql/data”然后重新启动mysqld!2..
分类:数据库技术   时间:2015-03-22 22:36:12    收藏:0  评论:0  赞:0  阅读:318
xtrabackup+二进制日志文件 实现mysql热备份
系统版本RHEL6.6MySQL版本5.5.28-i386XtraBackup-2.2.9PerconaXtraBackup是一块开源且免费的对MySQLInnodb存储引擎备份数据的工具,使用此工具的时候不需停止MySQL,而且支持压缩备份,支持对Innodb存储引擎做增量备份,对MYISAM存储引擎做完全备份,并且支持流备份。使用innob..
分类:数据库技术   时间:2015-03-22 22:33:51    收藏:0  评论:0  赞:0  阅读:543
我的MYSQL学习笔记(四)——函数
数字函数 1、求余函数MOD(X,Y)MOD(X,Y)返回x被y除后的余数,MOD()对于带有小数部分的数值也起作用,他返回除法运算后的精确余数 2、函数TRUNCATE(X,Y)TRUNCATE(X,Y)返回被舍去至小数点后y位的数字x。若y的值为0,则结果不带有小数点或不带有小数部分。 若y设为负数,则截去(归零)x小数点左边起第y位开始后面所有低位的值。 TIPS:ROUND(...
分类:数据库技术   时间:2015-03-22 22:25:28    收藏:0  评论:0  赞:0  阅读:289
Ado.net中SQLServer数据库连接池
12: { 13: using (SqlConnection conn = new SqlConnection(connStringUsePool)) 14: { 15: conn.Open(); 16: ...
分类:数据库技术   时间:2015-03-22 22:13:40    收藏:0  评论:0  赞:0  阅读:295
OleDbConnection 与 SqlConnection,adoconnection区别
System.Data.SqlClient.SqlConnection System.Data.OleDb.OledbConnectionADOConnection是Beta1时代的东西,现在的正式版中,该连接被OleDbConnection替代,所以从此世界上再也没有ADOConnection了....
分类:数据库技术   时间:2015-03-22 22:11:40    收藏:0  评论:0  赞:0  阅读:572
MongoDB系列一(安装)
安装包官方下载地址:http://www.mongodb.org/downloads第一步:下载安装包:如果是win系统,注意是64位还是32位版本的,请选择正确的版本。第二步:新建目录“D:\MongoDB”,解压下载到的安装包,找到bin目录下面全部.exe文件,拷贝到刚创建的目录下。第三步:在...
分类:数据库技术   时间:2015-03-22 22:09:20    收藏:0  评论:0  赞:0  阅读:180
mysql更改用户密码
1、mysqladmin mysqladmin –u username –p password ‘new password‘ 2、手工更新授权表 mysql>update user set password=password(‘new password‘) where user=‘username‘; mysql>flush privileges; 3、同时更新...
分类:数据库技术   时间:2015-03-22 21:07:00    收藏:0  评论:0  赞:0  阅读:220
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!