摘要: --恢复整个数据库 run { shutdown immediate; startup mount; restore database; recover database; alter database open;} --恢复表空间users run {sql 'alter tablespace u 阅读全文
posted @ 2020-06-21 17:35 beawh 阅读(193) 评论(0) 推荐(0)
摘要: For 10.3.x and 12.1.1, it is a limitation of the BSU utility to determine the cumulative design of PSUs. Beginning with 12.1.2, the OPatch utility is 阅读全文
posted @ 2020-06-21 17:21 beawh 阅读(167) 评论(0) 推荐(0)
摘要: ./createuser --interactive iomsx;Shall the new role be a superuser? (y/n) nShall the new role be allowed to create databases? (y/n) nShall the new rol 阅读全文
posted @ 2020-06-21 17:17 beawh 阅读(656) 评论(0) 推荐(0)
摘要: mysql> SELECT t.table_schema, t.table_name FROM information_schema.tables t LEFT JOIN information_schema.columns c ON t.table_schema = c.table_schema 阅读全文
posted @ 2020-06-21 16:18 beawh 阅读(1342) 评论(0) 推荐(0)
摘要: 列出docker容器列表:docker ps 进入到当前pgsql所在的容器: docker exec -it $dockerID /bin/bash 切换用户:su - postgres将pgsql的skylarxx 库的所有表列出来:./pgsql -p 15432 -d skylarxx -c 阅读全文
posted @ 2020-06-16 14:25 beawh 阅读(662) 评论(0) 推荐(0)
摘要: redis没有实现访问控制这个功能,但是它提供了一个轻量级的认证方式,可以编辑redis.conf配置来启用认证。 1、初始化Redis密码: 在配置文件中有个参数: requirepass 这个就是配置redis访问密码的参数; 比如 requirepass test123; (Ps:需重启Red 阅读全文
posted @ 2020-06-16 14:22 beawh 阅读(1510) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-05-26 21:59 beawh 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-04-27 12:38 beawh 阅读(0) 评论(0) 推荐(0)
摘要: 下载ssl101的安装包上传服务器对应安装目录/usr/local 目录。 [root@localhost ~]# yum -y install openssl openssl-devel perl-Time-HiRes perl-DBD-MySQL.x86_64 perl-IO-Socket-SS 阅读全文
posted @ 2020-04-03 10:36 beawh 阅读(408) 评论(0) 推荐(0)
摘要: 日志之前一直有报错:[ERROR] Too many arguments (first extra is 'bootstrap-pxc'). 删除临时文件 rm -rf /var/lock/subsys/mysql rm -rf /data/mysql/mysqld.pid 依然报错。。。。。 阅读全文
posted @ 2020-03-26 11:14 beawh 阅读(210) 评论(0) 推荐(0)