分类目录归档:数据库技术

数据库技术,mysql数据库应用技术,sql语言学习。数据库基础教程。

postgresql的自动备份



自动备份脚本

#!/bin/bash
#
export PGPASSWORD=”195589″
filename1=$(date +%Y%m%d)
/opt/postgresql/8.4/bin/pg_dump -U postgres ofbiz > /home/tian/Pgs[......]

Read more

oracle使用命令修改用户默认表空间



oracle使用命令修改用户默认表空间

alter user kcgl default tablespace kcgl temporary tablespace temp;
针对某个用户的:
alter user user_name default tablespace tbs_name;[......]

Read more

windows启动mysql服务方法介绍

windows启动mysql服务方法介绍。

以管理员身份运行cmd,在bin目录下输入mysqld –install可以安装mysql服务要以管理员身份运行cmd),以后在任何目录下输入net start mysql 或net stop mysql 就可以打开或关闭mysql数据库。这样my[......]

Read more