首页 \ 问答 \ 登录mysql出现1045错误怎么解决

登录mysql出现1045错误怎么解决

更新时间:2022-07-31 14:07

最满意答案

exp是数据备份命令imp是数据恢复命令

其他回答

EXP 用户名/用户明码@TNS 是备份命令 ,IMP 用户名/用户明码@TNS
使用rman吧最简单的做法不斟酌甚么增备全备的你存储够多每天弄1个全备,条件是你要开启数据库归档shutdownimmediatestartupmountalterdatabasearchivelog//开启归档alterdatabaseopenrmantarget/backupdatabase;出错恢复rmantarget/restoredatabaserecoverdatabase

相关问答

更多
  • 恩恩有点意思,值得学习
  • 其实我认为可以用Navicat 好用多了。。。
  • 备份: mysqldump -u test -p test > test.sql 执行命令时会提示输入test用户密码,输入对应密码就行了 恢复: mysql -u test -p test1< test.sql 命令中-p 后面的test1为要恢复的数据库名。执行时同样提示输入test用户密码。
  • exp是数据备份命令imp是数据恢复命令
  • Step1 先在服务器上备份 Rman_backup.txt: export ORACLE_HOME ORACLE_BASE=/u01/oracle export ORACLE_BASE ORACLE_SID=dbsid export ORACLE_SID $ORACLE_HOME/bin/rman nocatalog target system/password < 追问: 看不懂啊 哥哥 ,,我用windows的 定时任务做的 这是 批处理文件:@set fileName=bak_%date:~0,4% ...
  • Oracle10G数据库中,数据库文件的备份与恢复可以有很多的方式来实现,这里介绍一种基于用户管理的备份与恢复。基于用户管理的备份是指使用OS命令来备份数据库物理文件。 备份数据库 数据库一致性备份:关闭数据库以后备份数据库物理文件,这时数据文件scn值完全一致,所以称之为数据库的一致性备份或冷备份,适用于归档模式与非归档模式。 对基于用户管理的冷备份的暂时理解:在数据库shutdown状态下使用OS命令直接拷贝数据库物理文件。 数据库非一致性备份:在open状态下备份数据库物理文件,这时数据库内容可能会改 ...
  • linux下备份一个目录下所有文件及目录: 应该用cp -rf 源目录 备份目录 cp是复制命令 -r 递归处理,指定目录下的文件和子目录一并处理 -f 强行复制,无论目标是否存在
  • a.instance由一些ORACLE进程和内存组成,用来连接数据库 b.oracle跟mysql,sqlserver的设计思想不一样,不要把mysql的架构套用到学习oracle架构上 c.表空间是个逻辑概念,表逻辑上存在于表空间中,而物理上存在于数据文件中。一个表空间可以有多个数据文件。建表时指定表空间,真实数据就是通过dbwr进程写到相应数据文件中。 d.备份分物理备份跟逻辑备份。物理备份就是备份数据文件,可以是备份集或者COPY,工具比如RMAN。逻辑备份就是备份的一些DDL,DCL,DML操作,相 ...
  • 备份:(cmd下执行) exp fdais/fdais file=bakdb20100902.dmp directory=D:\baksql 用户名 密码 备份后生成的文件名 保存的路径 然后在另外的机器上建立跟之前一样的表空间、用户名和密码 (可以用命令CREATE DATABASE重新生成数据库结构) 恢复:(在cmd下执行以下命令即可将备份好的数据库重新导入) imp fdais/fdais file=bakdb20100902.dmp directory=D:\baksql log=bakdb201 ...
  • 低版本可以导入高版本,用IMP或者IMPDP

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)