1.在Linux上,用Oracle使用者登入後,執行:[oracle@h16 oracle]$ sqlplus /nologSQL*Plus: Release 9.2.0.4.0 - Production on Tue Feb 19 16:42:38 2008Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.SQL> connect system/manager as
說到這個問題,我很慚愧,正是我的前一篇文章“Ubuntu7.10中配置IP地址() ”裡解決步驟2出了點問題,才導致了mysql不能登入或重新安裝時安裝不上的問題。在此向大家道歉。當我配置好ip之後,由於兩天時間沒有用Ubuntu,所以也沒有注意到問題。昨天,我進入Ubuntu系統後,連mysql時突然發現連不上了,出現的錯誤資訊是:ERROR 2002 (HY000): Can’t connect to local MySQL server through socket
Linux系統下嘗試用MySQL Adminstrator GUI Tool登入MySQL Server,Server卻回複錯誤訊息:Host ’60-248-32-13.HINET-IP.hinet.net’ is not allowed to connect to this MySQL server 這個是因為許可權的問題,處理方式如下: shell>mysql --user=root -p 輸入密碼 mysql>use mysql
Oracle SQL Developer is a new, free graphical tool that enhances productivity and simplifies database development tasks. With SQL Developer, you can browse database objects, run SQL statements and SQL scripts, and edit and debug PL/SQL statements.
在紅旗Linux裡裝了mysql5.0.18 版本運行伺服器。可在win2003裡運行用戶端(圖形化介面MYSQL-FRONT)登入那台伺服器,提示錯誤為:ERROR 1130: Host '10.3.69.239' is not allowed to connect to this MySQL server為什麼不允許win2003用戶端串連MYSQL伺服器呢?問題解決方案:首先使用update把mysql.user中的root的host從localhost修改成%:mysql>
準備MySQL的源碼,版本號碼為Mysql-5.0.20a.tar.gz,當然其它的也行,只做為測試.Linux用Red Hat Linux as 4.安裝步驟:1.解壓Mysql-5.0.20a.tar.gz.命令: tar -zxvf Mysql-5.0.20a.tar.gz2.配置 Mysql命令:./configure --prefix=/usr/local/mysql
order by 排序對效能的影響-***********************************案例示範-***********************************alter system flush shared_pool;set autotrace traceonly explain stat;select * from t3 where sid>90 ;執行計畫---------------------------------------
1. dba,sysdba,sysoper 區別 dba 是一種角色;角色可以包含系統許可權,對象許可權和角色;dba不包含sysdba,sysoper許可權; sysdba ,sysoper 是兩種系統許可權;這兩種許可權比較大最好以sys,system登陸管理,不要賦給普通使用者; 2. Oracle的public public 可以理解為所有使用者的集合; grant dba to public ; 相當於所有使用者都是dba;