今天在寫一個小的網站作業,用jsp,在Ubuntu 8.10中向MySQL插入資料,插入英文和數字都可以,但中文就不行。我是把jsp中文的那些全用上了,不管用,試著用 mysql query browser (一個MySQL的GUI工具)在這裡插入中文資料,結果就報了incorrect string value .....這個錯,我明白原來是mysql的原因。然後就用baidu,用google搜,最後終於解決了,現分享經驗如下:首先停止MySQL服務:sudo
MySQL用戶端輸出格式化神奇現象,以前沒注意到,在此分享一下:$ mysql -uroot -e “show global status like ‘Uptime’”+—————+———+| Variable_name | Value |+—————+———+| Uptime | 2174838 |+—————+———+$ mysql -uroot -e “show global status like ‘Uptime’” > /tmp/test[mysql@dev81 ~]$ cat
問題報錯過程srv-bioradb:~> sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 25 18:27:45 2013Copyright (c) 1982, 2011, Oracle. All rights reserved.Connected to an idle instance.SQL> startupORA-00845: MEMORY_TARGET not
undo 資料表空間損壞導致無法open在資料庫undo資料表空間檔案損壞,或者undo資料表空間檔案缺失的情況,無法開啟資料庫。這兩種情況都可以視為一種情況處理,解決方案一樣。啟動資料庫時 出現:SQL> startupOracle instance started.Total System Global Area 709836800 bytesFixed Size
看到這篇文章提到一個ORA-12519的問題處理:oerr的解釋:12519, 00000, "TNS:no appropriate service handler found"// *Cause: The listener could not find any available service handlers that// are appropriate for the client connection.// *Action: Run "lsnrctl services" to
問題一:啟動dbstart 報錯 Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr Linux成功安裝Oracle10G後切換到Oracle使用者後,直接使用”dbstart”($ORACLE_HOME/bin中)啟動oracle資料庫報錯“Failed to auto-start Oracle Net Listene using
Data Guard物理備庫的主備切換1.查看狀態主庫:SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;SWITCHOVER_STATUS------------------------------------------------------------TO STANDBY //可以轉換成備庫備庫:SQL> SELECT
問題現象:在Oracle grid 11.2.0.3/4安裝的時候報PRVF-5646: The DNS response time for an unreachable node exceeded “15000″ ms on following nodes問題解決辦法:1、修改DNS伺服器的/etc/named.conf檔案,添加fil "/dev/null";資訊即可。zone "." IN { type