Affiliates

登录RMAN 报ORA-12162:TNS:net service name is incorrectly specified错误

我与影子孤独终老i 提交于 2019-12-24 17:13:12
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> oracle @localhost admin]$ rman target / Recovery Manager: Release 11.2.0.4.0 - Production on Tue Apr 22 18:08:11 2018 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-00554: initialization of internal recovery manager package failed RMAN-04005: error from target database: ORA-12162: TNS:net service name is

使用sequelize连接mysql数据库出错

穿精又带淫゛_ 提交于 2019-12-10 04:33:29
bug背景:使用sequelize连接mysql数据库 错误信息如下:大概意思是数据库验证未通过 Unhandled rejection SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client C:\Users\Administrator>mysql -u root -p Enter password: ****** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 18 Server version: 8.0.11 MySQL Community Server - GPL Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their

Mac mysql 忘记 root 密码,phpmyadmin 登录 No such file or directory 错误处理

元气小坏坏 提交于 2019-12-07 02:41:22
20190629 mac 上安装过 mysql 和 phpmyadmin之后,很久没有使用(本机硬盘空间有限),今天想用的时候,死活输入不对密码了! 以前处理过的 mysql 忘记密码处理,都是在 linux 上的 思路和处理方式是一样的,但是具体操作起来,mac 上还是不一样! 1、参考 https://blog.csdn.net/liu_yanzhao/article/details/79427005 开始没有明白参考博客中 “ 回车后 登录管理员权限 sudo su ” ,实际照着操作一下就明白了! 开始总以为和过去的 sudo + 命令 方式一样的! 以下就是我的错误过程 $ sudo ./mysqld_safe --skip-grant-tables & [1] 2070 dhbm-on-mac20180816:bin dhbm$ sudo ./mysqld_safe --skip-grant-tables &./mysql [2] 2105 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [1]+ Stopped sudo ./mysqld_safe --skip-grant-tables## 2、 $ sudo ./mysql

mysql docker 配置

懵懂的女人 提交于 2019-12-04 14:03:50
安装   主机上的mysql服务是基于docker安装的,具体安装脚本如下: docker run --detach \ --restart always \ --publish 3306:3306 --name mysql \ --volume /data/mysql/logs:/logs \ --volume /data/mysql/data:/mysql_data \ -e MYSQL_ROOT_PASSWORD=123456 \ mysql:5.7.28 重启 docker restart mysql 关闭 docker stop mysql 卸载 docker rm mysql 访问 lwk@qwfys:~$ mysql -h cvm00.xtwj.com -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 Server version: 5.7.28 MySQL Community Server (GPL) Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. Oracle is a

Mysql8.0.12修改普通用户密码

五迷三道 提交于 2019-12-02 02:19:12
问题 在使用mysql普通用户登录时,出现如下问题: [root@myHost ~]# mysql -u myusername ERROR 1045 (28000): Access denied for user 'myusername'@'localhost' (using password: NO) 原因 从报错中可以看出,密码有问题。 解决 这里通过root账号修改普通用户的方法,解决普通用户不能登录的问题。 [root@myHost~]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 33 Server version: 8.0.12 MySQL Community Server - GPL Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their

Mac安装MySQL后,设置初始密码

被刻印的时光 ゝ 提交于 2019-12-01 02:28:30
引子: 在Mac上安装MySQL之后,通过MySQLWorkBench登录本地数据连接,发现没有密码,而在安装MySQL过程中,是没有设置过密码的。其实,刚刚安装完,是有一个界面,分配了一个初始化的密码,可能大家都像我一样,直接点击就跳过去了,没有过保存,所以才需要对刚刚安装好的MySQL重新设置新的密码。 下面贴出一个MySQL安装之后弹出密码的截图: (PS:两年之前就弄过,不过没有做笔记,不说了,好记性不如烂笔头,给自己做下笔记,免得再网上找资料,有些还不能用) Mac系统版本:maxOS Sierra 10.12.5 这边参考了一篇文章(Mac安装MySQL初始密码设置),但是发现有问题,没法直接根据上面的指令来用。在这个基础上弄出来了。这边自己整理了下,命令行都直接用就成了。 一、第一步:停止MySQL服务。 可能在使用MySQLWorkBench之前,你就开启了MySQL服务,所以这里需要关闭MySQL服务。 关闭MySQL服务的操作: 苹果->系统偏好设置->最下边点MySQL 在弹出页面中 关闭mysql服务(点击stop mysql server) 二、第二步:进入终端,指令重启MySQL服务。 0、打开终端: 1、输入指令1:(进入到mysql的bin目录下) 输入:cd /usr/local/mysql/bin/ 2、输入指令2: 输入:sudo .

普通用户 要导整个数据库需要 什么权限?

你说的曾经没有我的故事 提交于 2019-11-28 19:52:59
普通用户 hr进行expdp数据导出,报权限不够的错误 [oracle@dbserver ~]$ expdp hr/hr directory=exp_dir dumpfile=full.dmp full=y Export: Release 11.2.0.4.0 - Production on Fri Oct 31 17:49:00 2014 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options ORA-31631: privileges are required ORA-39161: Full database jobs require privileges 报错了,主要是 hr用户没有 exp_full_database角色。 重新授予权限后, sql> GRANT EXP_FULL_DATABASE TO hr; 问题搞定 [oracle@dbserver ~

How can I read a QueryString in CodeIgniter?

只谈情不闲聊 提交于 2019-11-28 11:51:15
I know it's been asked before, but I need it for affiliate tracking... http://www.mysite.com/controller/method/params?affiliate=123&sub_id=456 How can I get the params AND the $_GET parameters outlined in that URL? Bretticus And yet, sometimes you need access to GET variables in CodeIgniter . One glaring example is when you use an API that sends a post-back to your site (Paypal, etc.) The easiest way, in my opinion, is to parse a server variable with the GET data you need since $_GET has been wiped (in my example, REQUEST_URI has my GET data.): parse_str(substr(strrchr($_SERVER['REQUEST_URI'],

How can I read a QueryString in CodeIgniter?

本小妞迷上赌 提交于 2019-11-27 06:32:50
问题 I know it's been asked before, but I need it for affiliate tracking... http://www.mysite.com/controller/method/params?affiliate=123&sub_id=456 How can I get the params AND the $_GET parameters outlined in that URL? 回答1: And yet, sometimes you need access to GET variables in CodeIgniter. One glaring example is when you use an API that sends a post-back to your site (Paypal, etc.) The easiest way, in my opinion, is to parse a server variable with the GET data you need since $_GET has been wiped

使用recovery catalog查看数据库过去的定义

梦想的初衷 提交于 2019-11-26 20:13:05
我们平时通过report schema看到的是当前数据库的定义信息, 如果使用 recovery catalog的情况下,我们可以看到数据库以前的数据结构的信息 比如: 1.增加表空间前的情况: [oracle@dbserver ~]$ rman target / catalog rman/rman@192.168.133.1:1521/orcl Recovery Manager: Release 11.2.0.4.0 - Production on Wed Aug 29 11:41:49 2018 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: SZTECH1 (DBID=3253410194) connected to recovery catalog database RMAN> report schema; Report of database schema for database with db_unique_name SZTECH1 List of Permanent Datafiles =========================== File Size(MB) Tablespace RB