oracle mysql的日誌資訊

2021-12-29 21:22:11 字數 383 閱讀 1968

這裡的日誌資訊,是指在命令列進行命令操作時的日誌資訊。

1.匯入匯出:

imp omjx/ppet1205@xforcl full=y file=完整路徑\xf.dmp log=e:\xf.log

2.非匯入匯出命令

3.其他命令

(參考文章:mysql備份與恢復簡單總結與tee命令的使用)

1.先要建立乙個存放日誌資訊的日誌檔案:tee 完整路徑

例如,tee c:\program files (x86)\mysql\mysql server 5.5\log\mysql.log

2.匯入匯出命令、非匯入匯出命令、其他的命令,都儲存到了mysql.log檔案

3.如何把每次的命令操作的日誌資訊儲存到乙個單獨的日誌檔案?

Oracle MySQL的單向複製

作業系統 redhat as 4.5 oracle version 10.2.0.1 mysql version mysql ver 14.14 distrib 5.5.28,for linux i686 using readline 5.1 源端ip 172.17.61.131 rhel131 目...

Oracle mysql的分頁語句

oracle分頁查詢格式 select from select a.rownum rn from select from table name a where rownum 40 where rn 21 其中最內層的查詢select from table name表示不進行翻頁的原始查詢語句。row...

oracle MySQL 中的decode的使用

mysql decode 的等同實現 在oracle中使用decode方法可以輕鬆實現 和值之間的轉換,但是在mysql中該如何實現類似功能呢?mysql中沒有直接的方法可以使用,但是我們可以通過下面兩種方法來實現 1.case when then 如 select title,case emerg...