11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐3

鑳屾櫙:


闃呰鏂伴椈

11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐�

[鏃ユ湡:2014-03-03]

鏉ユ簮:Linux绀惧尯

浣滆��:wuweilong

[瀛椾綋:澶� 涓� 灏廬

鐜:

骞冲彴:RedHat EnterPrise 5.8 X86_X64

鏁版嵁搴�:Oracle EnterPrise 11.2.0.3

闆嗙兢杞欢:Oracle grid 11.2.0.3

鏁呴殰鐜拌薄:

鏁版嵁搴撳嚭鐜颁簡褰掓。澶辫触,鍏朵腑鏈変竴涓妭鐐圭殑瀹炰緥鍑虹幇HANG姝荤殑鐘跺喌銆�

鏃ュ織淇℃伅濡備笅:

Fri Feb 28 19:49:04 2014

ARC1: Error 19504 Creating archive log file to '+DATA02'

ARCH: Archival stopped, error occurred. Will continue retrying

ORACLE Instance orcl1 - Archival Error

ORA-16038: log 14 sequence# 68244 cannot be archived

ORA-19504: failed to create file ""

ORA-00312: online log 14 thread 1: '+DATA02/涔濆害蹇帓绯荤粺 https://www.190seo.comorcl/onlinelog/group_14.264.792274883'

ORA-00312: online log 14 thread 1: '+DATA02/orcl/onlinelog/group_14.265.792274889'

Archiver process freed from errors. No longer stopped

Fri Feb 28 19:50:22 2014

ARC0: LGWR is actively archiving destination LOG_ARCHIVE_DEST_3

ARCH: Archival stopped, error occurred. Will continue retrying

ORACLE Instance orcl1 - Archival Error

ORA-16014: log 14 sequence# 68244 not archived, no available destinations

ORA-00312: online log 14 thread 1: '+DATA02/orcl/onlinelog/group_14.264.792274883'

ORA-00312: online log 14 thread 1: '+DATA02/orcl/onlinelog/group_14.265.792274889'

ARC0: Archive log rejected (thread 1 sequence 68240) at host 'orclsh'

FAL[server, ARC0]: FAL archive failed, see trace file.

ARCH: FAL archive failed. Archiver continuing

ORACLE Instance orcl1 - Archival Error. Archiver continuing.

鍒嗘瀽:

鐢变簬褰掓。澶辫触鍙戠敓鍦ˋSM纾佺洏涓�,棣栧厛妫�鏌SM纾佺洏绌洪棿浠ュ強DB_RECOVERY_FILE_DEST_SIZE,ASM纾佺洏绌洪棿鏄冻澶熺殑,鑰屼笖鐢变簬鍙湁涓�涓妭鐐瑰嚭鐜板嚭鐜颁簡鏃犳硶褰掓。鐨勯棶棰�,涔熷彲浠ユ帓闄ゆ槸绌洪棿涓嶈冻閫犳垚鐨勩�傜‘璁や袱涓妭鐐圭殑DB_RECOVERY_FILE_DEST_SIZE鍙傛暟璁剧疆閮芥槸0,鍩烘湰涓婂彲浠ュ垽鏂棶棰樺拰褰撳墠鑺傜偣鐨凙SM瀹炰緥鐘舵�佷笉姝e父鏈夊叧銆�

妫�鏌SM瀹炰緥鐨勯敊璇俊鎭�:

Fri Feb 28 19:41:23 2014

Dumping diagnostic data in directory=[cdmp_20130702164115], requested by (instance=2, osid=2032294 (LMD0)), summary=[incident=165521].

Fri Feb 28 19:49:19 2014

Dumping diagnostic data in directory=[cdmp_20130702164845], requested by (instance=2, osid=2032294 (LMD0)), summary=[incident=165522].

Fri Feb 28 19:55:56 2014

Dumping diagnostic data in directory=[cdmp_20130702165517], requested by (instance=2, osid=2032294 (LMD0)), summary=[incident=165523].

褰撳墠鑺傜偣ASM瀹炰緥鍑虹幇浜嗙殑杩欎釜淇℃伅,璇存槑鎶ラ敊鍙戠敓鍦ㄥ疄渚�2涓�:

Fri Feb 28 18:34:25 2014

Errors in file /u01/app/grid/diag/asm/+asm/+ASM2/trace/+ASM2_lmd0_2032294.trc (incident=186256):

ORA-04031: unable to allocate 3768 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","ges enqueues")

Use ADRCI or Support Workbench to package the incident.

See Note 411.1 at My Oracle Support for error and packaging details.

Insufficient shared pool to allocate a GES object (ospid 2032294)

Fri Feb 28 18:29:53 2014

Sweep [inc][186256]: completed

Fri Feb 28 18:36:49 2014

Errors in file /u01/app/grid/diag/asm/+asm/+ASM2/trace/+ASM2_lmd0_2032294.trc (incident=186257):

ORA-04031: unable to allocate 3768 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","ges enqueues")

Use ADRCI or Support Workbench to package the incident.

See Note 411.1 at My Oracle Support for error and packaging details.

Insufficient shared pool to allocate a GES object (ospid 2032294)

linux

12涓嬩竴椤�

ORA-01157: cannot identify/lock data file 6 - see DBWR trace file ORA-01110: 瑙e喅鏂规硶

Oracle瀵嗙爜蹇樿绠�鍗曞鐞嗗姙娉�

鐩稿叧璧勮

ASM瀹炰緥 ORA-4031

Win杩滅▼Linux涓嬬殑ASM瀹炰緥 (01鏈�12鏃�)

11G RAC閲嶅缓ASM瀹炰緥鐨凷PFILE (06/18/2014 13:02:58)

Oracle 10g R2鍒涘缓ASM瀹炰緥Step By (05/16/2014 09:13:50)

ORA-4031閿欒 瑙e喅鏂规硶 (07/21/2015 14:16:15)

ASM瀹炰緥鍜岀鐞� (05/26/2014 17:17:28)

11.2鐜ASM瀹炰緥spfile鏀惧湪ASM纾佺洏 (05/16/2014 09:11:42)

鏈枃璇勮

鏌ョ湅鍏ㄩ儴璇勮 (0)

琛ㄦ儏: 琛ㄦ儏

濮撳悕:

鍖垮悕

瀛楁暟

鍚屾剰璇勮澹版槑

璇勮澹版槑

灏婇噸缃戜笂閬撳痉,閬靛畧涓崕浜烘皯鍏卞拰鍥界殑鍚勯」鏈夊叧娉曞緥娉曡

鎵挎媴涓�鍒囧洜鎮ㄧ殑琛屼负鑰岀洿鎺ユ垨闂存帴瀵艰嚧鐨勬皯浜嬫垨鍒戜簨娉曞緥璐d换

鏈珯绠$悊浜哄憳鏈夋潈淇濈暀鎴栧垹闄ゅ叾绠¤緰鐣欒█涓殑浠绘剰鍐呭

鏈珯鏈夋潈鍦ㄧ綉绔欏唴杞浇鎴栧紩鐢ㄦ偍鐨勮瘎璁�

鍙備笌鏈瘎璁哄嵆琛ㄦ槑鎮ㄥ凡缁忛槄璇诲苟鎺ュ彈涓婅堪鏉℃

鏈�鏂拌祫璁�

Oracle瀹樻柟骞惰閫昏緫澶囦唤宸ュ叿mysqlpump

MySQL 5.7 mysqlpump 澶囦唤宸ュ叿璇存槑

MySQL5.7.11 mysqlpump 澶氱嚎绋嬮�昏緫澶囦唤宸ュ叿

MySQL 5.6 XtraBackup 鍏ㄩ噺鍜屽閲忕殑澶囦唤鍜�

鍩轰簬XtraBackup 2.3.5 鐨� MySQL鍏ㄩ噺澶囦唤涓�

Chrome OS 鐜板彲鏀寔绠�鏄撳瘑鐮佽В閿�

NSA鐨勪唬鐮侀伃鍒版暀鎺堢殑鍢茬瑧

Fedora 25灏嗛粯璁や娇鐢╓ayland

Nagios 鐩戞帶 SNMP 娓╁害璁�

JavaScript鍑芥暟瀹氫箟涓庡嚱鏁颁綔鐢ㄥ煙璇﹁В

鑳屾櫙:

闃呰鏂伴椈

Oracle瀵嗙爜蹇樿绠�鍗曞鐞嗗姙娉�

[鏃ユ湡:2014-03-03]

鏉ユ簮:Linux绀惧尯

浣滆��:wuweilong

[瀛椾綋:澶� 涓� 灏廬

涓�銆佸繕璁伴櫎SYS銆丼YSTEM鐢ㄦ埛涔嬪鐨勭敤鎴风殑鐧诲綍瀵嗙爜銆�

鐢╯ys鎴杝ystem鐢ㄦ埛鐧诲綍,鎵ц淇敼鏁版嵁搴撳瘑鐮�

#sqlplus sys/Oracle@"sid" as sysdba

浣跨敤濡備笅璇彞淇敼鐢ㄦ埛鐨勫瘑鐮�:

SQL> alter user "username" identified by "newpass";

娉ㄦ剰:瀵嗙爜涓嶈兘鍏ㄦ槸鏁板瓧銆傚苟涓斾笉鑳芥槸鏁板瓧寮�澶淬�傚惁鍒欎細鍑虹幇:ORA-00988:鍙d护缂哄け鎴栨棤鏁�

浜屻�佸繕璁癝YS鐢ㄦ埛,鎴栬�呮槸SYSTEM鐢ㄦ埛鐨勫瘑鐮併��

濡傛灉鏄繕璁皊ystem/sys瀵嗙爜,涓斾汉灏卞湪鏁版嵁搴撴湇鍔″櫒鏃佽竟,鍙互鍙互閫氳繃鏈湴楠岃瘉鏂瑰紡鐧诲綍,鎵ц濡備笅鎿嶄綔:

$ sqlplus / as sysdba

SQL> alter user "username" identified by "newpass";

鏇村Oracle鐩稿叧淇℃伅瑙丱racle 涓撻椤甸潰 http://www.linuxidc.com/topicnews.aspx?tid=12

linux

11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐�

MySQL瀵煎叆sql鏂囦欢閿欒#1044 - Access denied for user 'root'@'localhost'

鐩稿叧璧勮

Oracle瀵嗙爜蹇樿 Oracle sys瀵嗙爜蹇樿

鏈枃璇勮

鏌ョ湅鍏ㄩ儴璇勮 (0)

琛ㄦ儏: 琛ㄦ儏

濮撳悕:

鍖垮悕

瀛楁暟

鍚屾剰璇勮澹版槑

璇勮澹版槑

灏婇噸缃戜笂閬撳痉,閬靛畧涓崕浜烘皯鍏卞拰鍥界殑鍚勯」鏈夊叧娉曞緥娉曡

鎵挎媴涓�鍒囧洜鎮ㄧ殑琛屼负鑰岀洿鎺ユ垨闂存帴瀵艰嚧鐨勬皯浜嬫垨鍒戜簨娉曞緥璐d换

鏈珯绠$悊浜哄憳鏈夋潈淇濈暀鎴栧垹闄ゅ叾绠¤緰鐣欒█涓殑浠绘剰鍐呭

鏈珯鏈夋潈鍦ㄧ綉绔欏唴杞浇鎴栧紩鐢ㄦ偍鐨勮瘎璁�

鍙備笌鏈瘎璁哄嵆琛ㄦ槑鎮ㄥ凡缁忛槄璇诲苟鎺ュ彈涓婅堪鏉℃

鏈�鏂拌祫璁�

Oracle瀹樻柟骞惰閫昏緫澶囦唤宸ュ叿mysqlpump

MySQL 5.7 mysqlpump 澶囦唤宸ュ叿璇存槑

MySQL5.7.11 mysqlpump 澶氱嚎绋嬮�昏緫澶囦唤宸ュ叿

MySQL 5.6 XtraBackup 鍏ㄩ噺鍜屽閲忕殑澶囦唤鍜�

鍩轰簬XtraBackup 2.3.5 鐨� MySQL鍏ㄩ噺澶囦唤涓�

Chrome OS 鐜板彲鏀寔绠�鏄撳瘑鐮佽В閿�

NSA鐨勪唬鐮侀伃鍒版暀鎺堢殑鍢茬瑧

Fedora 25灏嗛粯璁や娇鐢╓ayland

Nagios 鐩戞帶 SNMP 娓╁害璁�

JavaScript鍑芥暟瀹氫箟涓庡嚱鏁颁綔鐢ㄥ煙璇﹁В

鑳屾櫙:

闃呰鏂伴椈

MySQL瀵煎叆sql鏂囦欢閿欒#1044 - Access denied for user 'root'@'localhost'

[鏃ユ湡:2014-03-03]

鏉ユ簮:Linux绀惧尯

浣滆��:moqiang

[瀛椾綋:澶� 涓� 灏廬

鍦ㄦ垜鐨勪釜浜虹煡璇嗙鐞嗕腑,缁忓父鐢ㄥ埌mysql鏁版嵁搴�,wordpress鎼缓鐨剋orklog銆佹悳绱㈡祴璇曟暟鎹�佹垜blog鐨勬祴璇曠幆澧冪瓑銆傛垜鍦ㄨ嚜宸辩殑鐢佃剳涓婃暣浜哤AMP(Windows Apache MySQL PHP),鍝堝搱,涓嶆槸LAMP,鐢╨inux鍋氭闈㈠拰鍛ㄥ洿鐨勫悓浜嬫矡閫氳繕鏄笉椤虹晠銆�

鎹簡鍙版柊鐨勭瑪璁版湰,鍘熸潵鐨刴ysql琚垜dump鎴愪竴涓猻ql鏂囦欢,50澶歁銆傜粨鏋滃湪鏂扮郴缁熼噷闈㈠鍏ョ殑鏃跺�欏嚭鐜伴棶棰�,鍦ㄥ懡浠よ鎵цsource鐨勬椂鍊欐姤閿�:

ERROR 1044 (42000): Access denied for user 鈥榬oot鈥橜'localhost鈥� to database 鈥榠nformation_schema鈥�

浠ュ墠浠庢潵娌¢亣鍒拌繃,root甯愬彿娌℃湁鏉冮檺?鐢ㄥ鎴风銆乸hpmyadmin鍟ョ殑鎵ц鎿嶄綔閮芥病闂,鍛戒护琛屼篃鑳芥墽琛岃濡傚垱寤恒�佸垹闄ゆ暟鎹簱鍜岃〃鐨勬搷浣�,鎬�!鎼滅储浜嗗嚑鎶�,娌℃壘鍒伴棶棰樻墍鍦�,闂簡鍑犱釜鍛ㄥ洿鐨勬湅鍙�,涔熸病鏈夎В鍐宠繖涓棶棰樸�備簬鏄綔缃�,鎵撶畻鐢ㄦ嫹璐濇枃浠剁殑鏂瑰紡浜嗐�傚垰鎵嶅張鎶樿吘浜嗕竴涓�,缁撴灉鍙戠幇鍘熸潵dump鐨剆ql鏂囦欢閲屾湁鍒涘缓鍜屽鍏nformation_schema鍜宮ysql涓や釜鏁版嵁搴撶殑鍐呭,涔栦箹!鍘熸潵鎴慸ump鐨勬椂鍊欐妸鎵�鏈夋暟鎹簱鎵�鏈夎〃鐨勬暣鍑烘潵浜嗐�傛樉鐒惰繖涓や釜鏁版嵁搴撴槸涓嶈兘琚鍏ョ殑,鎵嬪姩鐢╡ditplus鎵撳紑sql鏂囦欢,鍒犻櫎閭e爢涓滆タ浠ュ悗,瀵煎叆鎴愬姛銆�

璁板緱鍦╩ysql4鐨勬椂浠h繖涔堝共濂藉儚鏄彲浠ョ殑銆傛湁鏃堕棿寰楀鐔熸倝鐔熸倝浜�,涓ょ溂涓�鎽搁粦鐨勮洰骞蹭笉琛屼簡銆�

mysql -u root -p

杈撳叆瀵嗙爜

source sql鏂囦欢鍚�

**************************************************************

鎴栬�呭湪瀵煎嚭鏁版嵁搴撶殑sql鏂囦欢鏃�,鍏堥�変腑杩涘叆璇ユ暟鎹簱,鐒跺悗鍐嶉�夋嫨銆愬鍑恒��,杩欐牱灏变笉浼氬寘鍚玦nformation_schema鍜宮ysql涓や釜鏁版嵁搴撶殑鍐呭浜�,杩欐牱鍋氱殑璇�,鍦ㄩ噸鏂板鍏ql鏂囦欢鏃�,瑕佸厛鍒涘缓璇ユ暟鎹簱,鐒跺悗杩涘叆姝ゆ暟鎹簱,鍐嶉�夋嫨瀵煎叆sql鏂囦欢銆�

linux

Oracle瀵嗙爜蹇樿绠�鍗曞鐞嗗姙娉�

phpMyAdmin鎻愮ず鈥淎ccess denied for user 'root'@'localhost' (using password: NO)鈥濈殑瑙e喅鍔炴硶

鐩稿叧璧勮

MySQL閿欒

MySQL鍑虹幇data too long for (02鏈�13鏃�)

閿欒浠g爜:2013 Lost connection (05/27/2015 10:24:23)

MySQL纰板埌鈥淓very derived table (01/05/2015 08:17:14)

MySQL閿欒浠g爜澶у叏 (12/28/2015 17:08:43)

Linux涓婱ySQL鍑虹幇#1036 鈥� Table (01/21/2015 15:49:51)

MySQL閬囧埌Too many connections鐨� (03/05/2014 11:48:37)

鏈枃璇勮

鏌ョ湅鍏ㄩ儴璇勮 (0)

琛ㄦ儏: 琛ㄦ儏

濮撳悕:

鍖垮悕

瀛楁暟

鍚屾剰璇勮澹版槑

璇勮澹版槑

灏婇噸缃戜笂閬撳痉,閬靛畧涓崕浜烘皯鍏卞拰鍥界殑鍚勯」鏈夊叧娉曞緥娉曡

鎵挎媴涓�鍒囧洜鎮ㄧ殑琛屼负鑰岀洿鎺ユ垨闂存帴瀵艰嚧鐨勬皯浜嬫垨鍒戜簨娉曞緥璐d换

鏈珯绠$悊浜哄憳鏈夋潈淇濈暀鎴栧垹闄ゅ叾绠¤緰鐣欒█涓殑浠绘剰鍐呭

鏈珯鏈夋潈鍦ㄧ綉绔欏唴杞浇鎴栧紩鐢ㄦ偍鐨勮瘎璁�

鍙備笌鏈瘎璁哄嵆琛ㄦ槑鎮ㄥ凡缁忛槄璇诲苟鎺ュ彈涓婅堪鏉℃

鏈�鏂拌祫璁�

Oracle瀹樻柟骞惰閫昏緫澶囦唤宸ュ叿mysqlpump

MySQL 5.7 mysqlpump 澶囦唤宸ュ叿璇存槑

MySQL5.7.11 mysqlpump 澶氱嚎绋嬮�昏緫澶囦唤宸ュ叿

MySQL 5.6 XtraBackup 鍏ㄩ噺鍜屽閲忕殑澶囦唤鍜�

鍩轰簬XtraBackup 2.3.5 鐨� MySQL鍏ㄩ噺澶囦唤涓�

Chrome OS 鐜板彲鏀寔绠�鏄撳瘑鐮佽В閿�

NSA鐨勪唬鐮侀伃鍒版暀鎺堢殑鍢茬瑧

Fedora 25灏嗛粯璁や娇鐢╓ayland

Nagios 鐩戞帶 SNMP 娓╁害璁�

JavaScript鍑芥暟瀹氫箟涓庡嚱鏁颁綔鐢ㄥ煙璇﹁В

鑳屾櫙:

闃呰鏂伴椈

phpMyAdmin鎻愮ず鈥淎ccess denied for user 'root'@'localhost' (using password: NO)鈥濈殑瑙e喅鍔炴硶

[鏃ユ湡:2014-03-03]

鏉ユ簮:Linux绀惧尯

浣滆��:Linux

[瀛椾綋:澶� 涓� 灏廬

涓�銆侀敊璇唴瀹�

:

$cfg['Servers'][$i]['user']='root';

$cfg['Servers'][$i]['password']='';

鎿嶄綔杩囩▼:

鎵撳紑phpmyadmin鈥斺��>鐢ㄦ埛鈥斺��>(root-localhost)-缂栬緫鏉冮檺

11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐3_第1张图片

11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐3_第2张图片

11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐3_第3张图片

濡傛灉璁剧疆浜嗕娇鐢ㄥ瘑鐮佺殑璇濋偅涔堜笅闈㈢殑鐧诲叆瀵嗙爜涔熼渶瑕佸悓鏃朵慨鏀�,鍚﹀垯鍙兘鏀归厤缃枃浠禼onfig.inc.php鏄病鐢ㄧ殑銆傜敱浜庨粯璁ゅ瘑鐮佹槸绌虹殑,鍚庢潵鍔犱笂灏辫繛鎺ユ嫆缁濅簡,鐜板湪鍐嶇湅鍒板垰鎵嶉偅涓よ浠g爜灏辨槸鐧诲叆淇℃伅閲岀殑鐢ㄦ埛鍚嶅拰瀵嗙爜:

$cfg['Servers'][$i]['user']='root';

$cfg['Servers'][$i]['password']='';

濡傛灉鐣欑┖閭i偅涔堥敊璇彁绀洪噷灏辨槸(using password: NO),濡傛灉浣犳妸鏀硅繃鐨勫瘑鐮佹暡涓婂幓,閭d箞灏卞彲浠ョ櫥褰曟垚鍔熶簡銆�

phpMyAdmin 鐨勮缁嗕粙缁�:璇风偣杩欓噷

phpMyAdmin 鐨勪笅杞藉湴鍧�:璇风偣杩欓噷

鎺ㄨ崘闃呰:

Ubuntu 13.04 瀹夎 LAMP\Vsftpd\Webmin\phpMyAdmin 鏈嶅姟鍙婅缃� http://www.linuxidc.com/Linux/2013-06/86250.htm

LAMP鏋舵瀯鍗忓悓搴旂敤鐨勫疄渚嬧�斺�攑hpMyAdmin http://www.linuxidc.com/Linux/2013-07/87645.htm

LAMP搴旂敤涔媝hpMyAdmin銆乄ordpress http://www.linuxidc.com/Linux/2013-04/82757.htm

phpMyAdmin鑰佸嚭鐜扮櫥闄嗚秴鏃惰В鍐虫柟娉� http://www.linuxidc.com/Linux/2012-09/70715.htm

Ubuntu 瀹夎phpMyAdmin涓嶢dminer http://www.linuxidc.com/Linux/2012-08/69419.htm

鍦↙AMP鍩虹涓婂疄鐜癝SL鍔熻兘骞跺畨瑁卲hpMyAdmin http://www.linuxidc.com/Linux/2012-07/66905.htm

linux

MySQL瀵煎叆sql鏂囦欢閿欒#1044 - Access denied for user 'root'@'localhost'

CentOS涓婱ySQL瀹夎閰嶇疆杩囩▼璇﹁В

鐩稿叧璧勮

PhpMyAdmin

浣跨敤Nginx鎼缓phpMyAdmin (浠� 11:50)

CentOS 7.3涓媝hpMyAdmin瀹夎閮ㄧ讲 (08鏈�01鏃�)

Ubuntu 16.04 LTS瀹夎Apache2+PHP7 (02鏈�01鏃�)

CentOS 7.2 缂栬瘧瀹夎鏂瑰紡鎼缓 (09鏈�09鏃�)

浣跨敤phpMyAdmin娴忚搴撶粨鏋勫緢鍗$殑闂� (04鏈�13鏃�)

Ubuntu 16.04瀹夎phpMyAdmin鏁版嵁搴� (11/24/2016 08:22:37)

鏈枃璇勮

鏌ョ湅鍏ㄩ儴璇勮 (0)

琛ㄦ儏: 琛ㄦ儏

濮撳悕:

鍖垮悕

瀛楁暟

鍚屾剰璇勮澹版槑

璇勮澹版槑

灏婇噸缃戜笂閬撳痉,閬靛畧涓崕浜烘皯鍏卞拰鍥界殑鍚勯」鏈夊叧娉曞緥娉曡

鎵挎媴涓�鍒囧洜鎮ㄧ殑琛屼负鑰岀洿鎺ユ垨闂存帴瀵艰嚧鐨勬皯浜嬫垨鍒戜簨娉曞緥璐d换

鏈珯绠$悊浜哄憳鏈夋潈淇濈暀鎴栧垹闄ゅ叾绠¤緰鐣欒█涓殑浠绘剰鍐呭

鏈珯鏈夋潈鍦ㄧ綉绔欏唴杞浇鎴栧紩鐢ㄦ偍鐨勮瘎璁�

鍙備笌鏈瘎璁哄嵆琛ㄦ槑鎮ㄥ凡缁忛槄璇诲苟鎺ュ彈涓婅堪鏉℃

鏈�鏂拌祫璁�

浣跨敤Nginx鎼缓phpMyAdmin

MySQL楂樺彲鐢ㄨВ鍐虫柟妗�:MHA

MySQL鐨勫紓姝ュ鍒跺拰鍗婂悓姝ュ鍒�

CentOS 7.2 閮ㄧ讲Haproxy 1.7.2

Keepalived瀹炵幇楂樺彲鐢�

Zabbix閮ㄧ讲-LNMP鐜

MySQL涓讳粠澶嶅埗璇﹁В

MySQL鍙屼富澶嶅埗璇﹁В

璋锋瓕 Duo 灏嗚鎴愪负 Android 绯荤粺鐨�

MySQL-MMM楂樺彲鐢ㄦ柟妗�

鑳屾櫙:

闃呰鏂伴椈

CentOS涓婱ySQL瀹夎閰嶇疆杩囩▼璇﹁В

[鏃ユ湡:2014-03-03]

鏉ユ簮:Linux绀惧尯

浣滆��:Linux

[瀛椾綋:澶� 涓� 灏廬

1銆丆entOS涓嬪畨瑁匨ySQL

[root@sample ~]# yum -y install mysql-server 鈫� 瀹夎MySQL

鐒跺悗,瀹夎PHP璁块棶MySQL鏁版嵁搴撶殑宸ュ叿鈥減hp-mysql鈥�

[root@sample ~]# yum -y install php-mysql 鈫� 瀹夎php-mysql

2銆侀厤缃甅ySQL

[root@sample ~]# vi /etc/my.cnf 鈫� 缂栬緫MySQL鐨勯厤缃枃浠�

#瀹氫綅鍒拌繖閲�

[client]

#password=your_password

port=3306

socket=/tmp/mysql.sock

default-character-set=utf8

[mysqld]

datadir=/var/lib/mysql

socket=/var/lib/mysql/mysql.sock

# Default to using old password format for compatibility with mysql 3.x

# clients (those using the mysqlclient10 compatibility package).

old_passwords=1 鈫� 鎵惧埌杩欎竴琛�,鍦ㄨ繖涓�琛岀殑涓嬮潰娣诲姞鏂扮殑瑙勫垯,璁㎝ySQL鐨勯粯璁ょ紪鐮� 涓篣TF-8(鍋囪嫢鎵句笉鍒�,灏卞湪鏈枃浠跺埌搴曟坊鍔�)

default-character-set=utf8 鈫� 娣诲姞杩欎竴琛�

鍚姩MySQL鏈嶅姟,杩涘叆MySQL閲岄潰杩愯status鏌ョ湅鏄惁宸茬粡鍏ㄩ儴閮芥槸鏀寔浜唘tf8,骞惰MySQL鍦ㄧ郴缁熼噸鏂板惎鍔ㄥ悗闅忕郴缁熻嚜鍔ㄥ惎鍔ㄣ��

[root@sample ~]# chkconfig mysqld on 鈫� 璁剧疆MySQL鏈嶅姟闅忕郴缁熷惎鍔ㄨ嚜鍚姩

[root@sample ~]# chkconfig --list mysqld 鈫� 纭MySQL鑷惎鍔�

mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off 鈫� 濡傛灉2--5涓簅n鐨勭姸鎬佸氨OK

[root@sample ~]# service mysqld start 鈫� 鍚姩MySQL鏈嶅姟

3銆佽缃畆oot鐢ㄦ埛瀵嗙爜鍙婄浉鍏充紭鍖栭厤缃�

MySQL鍦ㄥ垰鍒氳瀹夎鐨勬椂鍊�,瀹冪殑root鐢ㄦ埛鏄病鏈夎璁剧疆瀵嗙爜鐨�,棣栧厛鏉ヨ缃甅ySQL鐨剅oot瀵嗙爜銆�

[root@sample ~]# mysql -u root 鈫� 鐢╮oot鐢ㄦ埛鐧诲綍MySQL鏈嶅姟鍣�

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 2 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select user,host,password from mysql.user; 鈫� 鏌ョ湅鐢ㄦ埛淇℃伅

+------+------------------------------+---------------+

| user | host | password |

+------+------------------------------+---------------+

| root | localhost | | 鈫� root瀵嗙爜涓虹┖

| root | sample.centospub.com | | 鈫� root瀵嗙爜涓虹┖

| | sample.centospub.com | |

| | localhost | |

+------+------------------------------+---------------+

4 rows in set (0.00 sec)

mysql> set password for root@localhost=password('yournewpwd'); 鈫� 璁剧疆root瀵嗙爜

Query OK, 0 rows affected (0.01 sec)

mysql> set password for root@'sample.centospub.com'=password('newID'); 鈫� 璁剧疆root瀵嗙爜

Query OK, 0 rows affected (0.01 sec)

mysql> select user,host,password from mysql.user; 鈫� 鏌ョ湅鐢ㄦ埛淇℃伅

+------+--------------------------------+--------------------------+

| user | host | password |

+------+--------------------------------+--------------------------+

| root | localhost | 19b68057189b027f | 鈫� root瀵嗙爜琚缃�,宸茬粡鍔犲瘑

| root | sample.centospub.com | 19b68057189b027f | 鈫� root瀵嗙爜琚缃�,宸茬粡鍔犲瘑

| | sample.centospub.com | |

| | localhost | |

+------+--------------------------------+--------------------------+

4 rows in set (0.01 sec)

mysql> exit 鈫� 閫�鍑篗ySQL鏈嶅姟鍣�

Bye

鐒跺悗,娴嬭瘯涓�涓媟oot瀵嗙爜鏈夋病鏈夌敓鏁堛��

[root@sample ~]# mysql -u root 鈫� 閫氳繃绌哄瘑鐮佺敤root鐧诲綍

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) 鈫� 鍑虹幇姝ら敊璇俊鎭鏄庡瘑鐮佽缃垚鍔�

[root@localhost ~] # mysql -u root -h sample.centospub.com 鈫� 閫氳繃绌哄瘑鐮佺敤root鐧诲綍

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) 鈫� 鍑虹幇姝ら敊璇俊鎭鏄庡瘑鐮佽缃垚鍔�

[root@sample ~]# mysql -u root -p 鈫� 閫氳繃瀵嗙爜鐢╮oot鐧诲綍

Enter password: 鈫� 鍦ㄨ繖閲岃緭鍏ュ瘑鐮�

Welcome to the MySQL monitor. Commands end with ; or \g. 鈫� 纭鐢ㄥ瘑鐮佽兘澶熸垚鍔熺櫥褰�

Your MySQL connection id is 5 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> exit

[root@sample ~]# mysql -u root -h sample.centospub.com -p 鈫� 閫氳繃瀵嗙爜鐢╮oot鐧诲綍

Enter password: 鈫� 鍦ㄨ繖閲岃緭鍏ュ瘑鐮�

Welcome to the MySQL monitor. Commands end with ; or \g. 鈫� 纭鐢ㄥ瘑鐮佽兘澶熸垚鍔熺櫥褰�

Your MySQL connection id is 6 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> exit 鈫� 閫�鍑篗ySQL鏈嶅姟鍣�

Bye

鍒犻櫎鍖垮悕鐢ㄦ埛

鍦∕ySQL鍒氬垰琚畨瑁呭悗,瀛樺湪鐢ㄦ埛鍚嶃�佸瘑鐮佷负绌虹殑鐢ㄦ埛銆傝繖浣垮緱鏁版嵁搴撴湇鍔″櫒鏈夋棤闇�瀵嗙爜琚櫥褰曠殑鍙兘鎬�,涓烘秷闄ら殣鎮�,灏嗗尶鍚嶇敤鎴峰垹闄ゃ��

[root@sample ~]# mysql -u root -p 鈫� 閫氳繃瀵嗙爜鐢╮oot鐧诲綍

Enter password: 鈫� 鍦ㄨ繖閲岃緭鍏ュ瘑鐮�

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 7 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select user,host from mysql.user; 鈫� 鏌ョ湅鐢ㄦ埛淇℃伅

+------+----------------------------+

| user | host |

+------+----------------------------+

| | localhost |

| | 127.0.0.1 |

| root | localhost |

| | sample.centospub.com |

| root | sample.centospub.com |

+------+----------------------------+

4 rows in set (0.02 sec)

mysql> delete from mysql.user where user=''; 鈫� 鍒犻櫎鍖垮悕鐢ㄦ埛

Query OK, 2 rows affected (0.17 sec)

mysql> select user,host from mysql.user; 鈫� 鏌ョ湅鐢ㄦ埛淇℃伅

+------+----------------------------+

| user | host |

+------+----------------------------+

| root | localhost |

| root | sample.centospub.com |

+------+----------------------------+

2 rows in set (0.00 sec)

mysql> exit 鈫� 閫�鍑篗ySQL鏈嶅姟鍣�

鍒犻櫎娴嬭瘯鐢ㄦ暟鎹簱

鍦∕ySQL琚畨瑁呭悗,瀛樺湪鍚嶄负test鐨勭┖鏁版嵁搴�,灏嗗畠鍒犻櫎銆傝繖閲岃娉ㄦ剰鐨勬槸,绯荤粺榛樿鐨勮繕鏈変竴涓悕涓簃ysql鐨勬暟鎹簱,瀹冪敤浜庣郴缁熺鐞�,鎵�浠ヨ涓嶈鍒犻櫎銆�

[root@sample ~]# mysql -u root -p 鈫� 閫氳繃瀵嗙爜鐢╮oot鐧诲綍

Enter password: 鈫� 鍦ㄨ繖閲岃緭鍏ュ瘑鐮�

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 8 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases; 鈫� 鏌ョ湅绯荤粺宸插瓨鍦ㄧ殑鏁版嵁搴�

+-------------+

| Database |

+-------------+

| mysql |

| test |

+------------+

2 rows in set (0.02 sec)

mysql> drop database test; 鈫� 鍒犻櫎鍚嶄负test鐨勭┖鏁版嵁搴�

Query OK, 0 rows affected (0.07 sec)

mysql> show databases; 鈫� 鏌ョ湅绯荤粺宸插瓨鍦ㄧ殑鏁版嵁搴�

+-------------+

| Database |

+-------------+

| mysql | 鈫� 纭鍚嶄负test鐨勬暟鎹簱琚垹闄�,宸蹭笉瀛樺湪

+-------------+

1 row in set (0.00 sec)

mysql> exit 鈫� 閫�鍑篗ySQL鏈嶅姟鍣�

4銆佹祴璇昅ySQL

涓嬮潰瀵筂ySQL杩涜娴嬭瘯銆傚寘鎷缓绔嬫柊鐢ㄦ埛,浠ュ強鐢ㄥ鍏崇郴鎬ф暟鎹簱杩涜鏁版嵁搴撴搷浣滅殑鎸囦护鏉ヨ瘯鐫�寤虹珛鏁版嵁搴撳強鏁版嵁琛�,杩欓噷,鏂板缓鐢ㄦ埛浠entospub涓轰緥銆�

[root@sample ~]# mysql -u root -p 鈫� 閫氳繃瀵嗙爜鐢╮oot鐧诲綍

Enter password: 鈫� 鍦ㄨ繖閲岃緭鍏ュ瘑鐮�

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 9 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> grant all privileges on test.* to centospub@localhost identified by 'newpwd鈥�; 鈫� 寤虹珛瀵箃est鏁版嵁搴撴湁瀹屽叏鎿嶄綔鏉冮檺鐨勫悕涓篶entospub鐨勭敤鎴�

Query OK, 0 rows affected (0.03 sec)

mysql> select user from mysql.user where user='centospub'; 鈫� 纭centospub鐢ㄦ埛鐨勫瓨鍦ㄤ笌鍚�

+---------+

| user |

+---------+

| centospub | 鈫� 纭centospub宸茬粡琚缓绔�

+---------+

1 row in set (0.01 sec)

mysql> exit 鈫� 閫�鍑篗ySQL鏈嶅姟鍣�

[root@sample ~]# mysql -u centospub -p 鈫� 鐢ㄦ柊寤虹珛鐨刢entospub鐢ㄦ埛鐧诲綍MySQL鏈嶅姟鍣�

Enter password: 鈫� 鍦ㄨ繖閲岃緭鍏ュ瘑鐮�

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 10 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> create database test; 鈫� 寤虹珛鍚嶄负test鐨勬暟鎹簱

Query OK, 1 row affected (0.00 sec)

mysql> show databases; 鈫� 鏌ョ湅绯荤粺宸插瓨鍦ㄧ殑鏁版嵁搴�

+-------------+

| Database |

+-------------+

| test |

+-------------+

1 row in set (0.00 sec)

mysql> use test; 鈫� 杩炴帴鍒版暟鎹簱

Database changed

mysql> create table test(num int, name varchar(50)); 鈫� 鍦ㄦ暟鎹簱涓缓绔嬭〃

Query OK, 0 rows affected (0.03 sec)

mysql> show tables; 鈫� 鏌ョ湅鏁版嵁搴撲腑宸插瓨鍦ㄧ殑琛�

+-------------------+

| Tables_in_test |

+-------------------+

| test |

+-------------------+

1 row in set (0.01 sec)

mysql> insert into test values(1,'Hello World!'); 鈫� 鎻掑叆涓�涓�煎埌琛ㄤ腑

Query OK, 1 row affected (0.02 sec)

mysql> select * from test; 鈫� 鏌ョ湅鏁版嵁搴撲腑鐨勮〃鐨勪俊鎭�

+------+-------------------+

| num | name |

+------+-------------------+

| 1 | Hello World! |

+------+-------------------+

1 row in set (0.00 sec)

mysql> update test set name='Hello Everyone!'; 鈫� 鏇存柊琛ㄧ殑淇℃伅,璧嬩簣鏂扮殑鍊�

Query OK, 1 row affected (0.00 sec)

Rows matched: 1 Changed: 1 Warnings: 0

mysql> select * from test; 鈫� 鏌ョ湅鏁版嵁搴撲腑鐨勮〃鐨勪俊鎭�

+------+----------------------+

| num | name |

+------+----------------------+

| 1 | Hello Everyone! | 鈫� 纭琚洿鏂板埌鏂扮殑鍊�

+------+----------------------+

1 row in set (0.01 sec)

mysql> delete from test where num=1; 鈫� 鍒犻櫎琛ㄥ唴鐨勫��

Query OK, 1 row affected (0.00 sec)

mysql> select * from test; 鈫� 纭鍒犻櫎缁撴灉

Empty set (0.01 sec)

mysql> drop table test; 鈫� 鍒犻櫎琛�

Query OK, 0 rows affected (0.01 sec)

mysql> show tables; 鈫� 鏌ョ湅琛ㄤ俊鎭�

Empty set (0.00 sec) 鈫� 纭琛ㄥ凡琚垹闄�

mysql> drop database test; 鈫� 鍒犻櫎鍚嶄负test鐨勬暟鎹簱

Query OK, 0 rows affected (0.01 sec)

mysql> show databases; 鈫� 鏌ョ湅宸插瓨鍦ㄧ殑鏁版嵁搴�

Empty set (0.01 sec) 鈫� 纭test鏁版嵁搴撳凡琚垹闄�(杩欓噷闈瀝oot鐢ㄦ埛鐨勫叧绯�,鐪嬩笉鍒板悕涓簃ysql鐨勬暟鎹簱)

mysql> exit 鈫� 閫�鍑篗ySQL鏈嶅姟鍣�

Bye

鐒跺悗,鍒犻櫎娴嬭瘯鐢ㄨ繃鐨勯仐鐣欑敤鎴枫��

[root@sample ~]# mysql -u root -p 鈫� 閫氳繃瀵嗙爜鐢╮oot鐧诲綍

Enter password: 鈫� 鍦ㄨ繖閲岃緭鍏ュ瘑鐮�

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 12 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> revoke all privileges on *.* from centospub@localhost; 鈫� 鍙栨秷centospub鐢ㄦ埛瀵规暟鎹簱鐨勬搷浣滄潈闄�

Query OK, 0 rows affected (0.00 sec)

mysql> delete from mysql.user where user='centospub' and host='localhost'; 鈫� 鍒犻櫎centospub鐢ㄦ埛

Query OK, 1 row affected (0.01 sec)

mysql> select user from mysql.user where user='centospub'; 鈫� 鏌ユ壘鐢ㄦ埛centospub,纭宸插垹闄や笌鍚�

Empty set (0.01 sec) 鈫� 纭centospub鐢ㄦ埛宸蹭笉瀛樺湪

mysql> flush privileges; 鈫� 鍒锋柊,浣夸互涓婃搷浣滅敓鏁�

Query OK, 0 rows affected (0.01 sec)

mysql> exit

Bye

5銆佹渶鍚�,閲嶆柊鍚姩涓�娆TTP鏈嶅姟,璁﹑hp-mysql鍙嶆槧鍒癏TTP鏈嶅姟涓��

[root@sample ~]# /etc/rc.d/init.d/httpd restart 鈫� 閲嶆柊鍚姩HTTP鏈嶅姟

Stopping httpd: [ OK ]

Starting httpd: [ OK ]

鏇村CentOS鐩稿叧淇℃伅瑙丆entOS 涓撻椤甸潰 http://www.linuxidc.com/topicnews.aspx?tid=14

linux

phpMyAdmin鎻愮ず鈥淎ccess denied for user 'root'@'localhost' (using password: NO)鈥濈殑瑙e喅鍔炴硶

鍏充簬MySQL涓枃涔辩爜鐨勫畬缇庤В鍐虫柟妗�

鐩稿叧璧勮

CentOS瀹夎MySQL CentOS閰嶇疆MySQL

CentOS 7.0涓媦um瀹夎MySQL鍙婁娇鐢ㄩ亣 (浠� 07:41)

CentOS 6.9瀹夎MySQL 5.1.73 (07鏈�06鏃�)

CentOS 6.7 涓婻PM鏂瑰紡瀹夎MySQL 5. (06鏈�16鏃�)

CentOS 7 瀹夎 MySQL 灏忚 (10鏈�11鏃�)

CentOS6.4 瀹夎MySQL 閰嶇疆杩滅▼璁块棶 (06鏈�21鏃�)

闃块噷浜� CentOS 7.3涓媟pm瀹夎MySQL (06鏈�06鏃�)

鏈枃璇勮

鏌ョ湅鍏ㄩ儴璇勮 (0)

琛ㄦ儏: 琛ㄦ儏

濮撳悕:

鍖垮悕

瀛楁暟

鍚屾剰璇勮澹版槑

璇勮澹版槑

灏婇噸缃戜笂閬撳痉,閬靛畧涓崕浜烘皯鍏卞拰鍥界殑鍚勯」鏈夊叧娉曞緥娉曡

鎵挎媴涓�鍒囧洜鎮ㄧ殑琛屼负鑰岀洿鎺ユ垨闂存帴瀵艰嚧鐨勬皯浜嬫垨鍒戜簨娉曞緥璐d换

鏈珯绠$悊浜哄憳鏈夋潈淇濈暀鎴栧垹闄ゅ叾绠¤緰鐣欒█涓殑浠绘剰鍐呭

鏈珯鏈夋潈鍦ㄧ綉绔欏唴杞浇鎴栧紩鐢ㄦ偍鐨勮瘎璁�

鍙備笌鏈瘎璁哄嵆琛ㄦ槑鎮ㄥ凡缁忛槄璇诲苟鎺ュ彈涓婅堪鏉℃

鏈�鏂拌祫璁�

CentOS 7.0涓媦um瀹夎MySQL鍙婁娇鐢ㄩ亣鍒伴棶棰�

閰嶇疆MySQL鏈嶅姟鍣ㄧ鐨勫瓧绗﹂泦

浣跨敤Eclipse杩滅▼Debug娴嬭瘯鐜

棰勮鐗堝井杞� Edge 娴忚鍣ㄥ凡鐧婚檰 Android

Python 瑙f瀽閰嶇疆妯″潡涔婥onfigParser璇﹁В

CentOS 7涓嬬紪璇戝畨瑁匩ginx+MySQL+PHP

CentOS 7涓婲agios鐨勫畨瑁呭強閰嶇疆

Linux瀹夎Python 3.5.2

CentOS 7绯荤粺浼樺寲鑴氭湰

鍒╃敤鑻规灉璁惧鐨� Wi-Fi 鍫嗘爤瀹炵幇鍐呮牳鐨勮繙绋�

鑳屾櫙:

闃呰鏂伴椈

鍏充簬MySQL涓枃涔辩爜鐨勫畬缇庤В鍐虫柟妗�

[鏃ユ湡:2014-03-03]

鏉ユ簮:Linux绀惧尯

浣滆��:u013616976

[瀛椾綋:澶� 涓� 灏廬

褰撶敤瀹㈡埛绔垨鐢ㄥ叾浠栨柟寮忚繛鎺ユ暟鎹敭鍏ヤ腑鏂囨暟鎹悗,鍦╟lient涓殑鏄剧ず涓轰贡鐮�,褰撶劧杩欐槸瀛楃闆嗚缃嚭鐜颁簡闂銆傛垜鍏堝悗灏濊瘯浜嗗緢澶氬姙娉�,浣嗕緷鐒惰繕鏄棤娉曞湪client涓樉绀轰腑鏂�,鎴戝皾璇曞湪my.ini涓慨鏀逛竴涓嬫暟鎹�

鍦╗client]

涓姞鍏ャ��

# Here follows entries for some specificprograms

default-character-set=utf8

姝�

[mysqld]

涓姞鍏�

character-set-server=utf8

11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐3_第4张图片

鐒跺悗鎴戝氨鎶婃墍鏈夌殑閮借鎴愪簡utf8,鐢ㄥ彲瑙嗗寲宸ュ叿鎵撳紑鏁版嵁搴撴枃浠�,鍙戠幇閲岄潰鐨勬暟鎹‘瀹炲彉鎴愪簡涓枃,浣嗘槸瀹㈡埛绔殑鐣岄潰涓婁緷鐒舵槸涔辩爜,涓嶈繃杩欐濂藉儚鏄腑鏂囦贡鐮�,鑰屼笖鏈変簺涓枃杩樻槸鑳芥樉绀虹殑銆�

鐪嬪埌杩欓噷鎴戜豢浣涙湁鐪嬪埌浜嗗笇鏈�,鎴戠煡閬撴垜鑲畾杩樻湁涓�鐐规病鏈夎缃ソ,褰撶劧鑲畾鏄鎴风鐨勫瓧绗﹂泦璁剧疆閿欒浜�,绐佺劧鎯宠捣瀹㈡埛绔殑榛樿鏄剧ず鏂瑰紡涓篻bk,鐒跺悗鎴戝湪

My.ini涓慨鏀逛竴涓嬫暟鎹�

# Here follows entries for some specificprograms

default-character-set=gbk

灏嗗鎴风鐨勬樉绀烘柟寮忔敼涓篻bk銆�

鍦ㄥ鎴风閿叆銆�

SETcharacter_set_database=utf8;

SETcharacter_set_server=utf8;

SETcharacter_set_client=gbk;

SETcharacter_set_connection=gbk;

11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐3_第5张图片

鍗冲彲姝e父鏄剧ず浜嗐��

11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐3_第6张图片

linux

CentOS涓婱ySQL瀹夎閰嶇疆杩囩▼璇﹁В

Ubuntu涓嬪畨瑁匨ySQL Workbench

鐩稿叧璧勮

MySQL涔辩爜 mysql涓枃涔辩爜

MySQL鏁版嵁搴撲腑鏂囦贡鐮侀棶棰樿В鍐� (12/02/2015 21:12:51)

MySQL 浣跨敤set names 瑙e喅涔辩爜闂 (03/21/2015 13:08:36)

MySQL瀹㈡埛绔緭鍑虹獥鍙f樉绀轰腑鏂囦贡鐮� (02/21/2015 09:54:30)

瑙e喅MySQL涓枃涔辩爜鐨勯棶棰� (05/23/2015 09:10:50)

MySQL涔辩爜鐨勫嚑绉嶅師鍥� (03/05/2015 09:06:09)

Java鍐欏叆MySQL涓枃涔辩爜瑙e喅鏂规硶 (02/17/2015 09:23:17)

鏈枃璇勮

鏌ョ湅鍏ㄩ儴璇勮 (0)

琛ㄦ儏: 琛ㄦ儏

濮撳悕:

鍖垮悕

瀛楁暟

鍚屾剰璇勮澹版槑

璇勮澹版槑

灏婇噸缃戜笂閬撳痉,閬靛畧涓崕浜烘皯鍏卞拰鍥界殑鍚勯」鏈夊叧娉曞緥娉曡

鎵挎媴涓�鍒囧洜鎮ㄧ殑琛屼负鑰岀洿鎺ユ垨闂存帴瀵艰嚧鐨勬皯浜嬫垨鍒戜簨娉曞緥璐d换

鏈珯绠$悊浜哄憳鏈夋潈淇濈暀鎴栧垹闄ゅ叾绠¤緰鐣欒█涓殑浠绘剰鍐呭

鏈珯鏈夋潈鍦ㄧ綉绔欏唴杞浇鎴栧紩鐢ㄦ偍鐨勮瘎璁�

鍙備笌鏈瘎璁哄嵆琛ㄦ槑鎮ㄥ凡缁忛槄璇诲苟鎺ュ彈涓婅堪鏉℃

鏈�鏂拌祫璁�

Oracle瀹樻柟骞惰閫昏緫澶囦唤宸ュ叿mysqlpump

MySQL 5.7 mysqlpump 澶囦唤宸ュ叿璇存槑

MySQL5.7.11 mysqlpump 澶氱嚎绋嬮�昏緫澶囦唤宸ュ叿

MySQL 5.6 XtraBackup 鍏ㄩ噺鍜屽閲忕殑澶囦唤鍜�

鍩轰簬XtraBackup 2.3.5 鐨� MySQL鍏ㄩ噺澶囦唤涓�

Chrome OS 鐜板彲鏀寔绠�鏄撳瘑鐮佽В閿�

NSA鐨勪唬鐮侀伃鍒版暀鎺堢殑鍢茬瑧

Fedora 25灏嗛粯璁や娇鐢╓ayland

Nagios 鐩戞帶 SNMP 娓╁害璁�

JavaScript鍑芥暟瀹氫箟涓庡嚱鏁颁綔鐢ㄥ煙璇﹁В

你可能感兴趣的:(11.2.0.3 ASM瀹炰緥鍑虹幇ORA-4031閿欒瀵艰嚧鏁版嵁搴撳綊妗eけ璐3)