ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/owl/trunk/tools/MySQLConnection.class
Revision: 943
Committed: Fri Jan 22 16:11:43 2010 UTC (10 years, 2 months ago) by winkelma
File size: 14413 byte(s)
Log Message:
contact map rainbows
Line File contents
1 1
2
3    
4
5 
6
7  
8
9
10 
11   
12 
13 |
14 
15  
16 
17 
18 
19 
20  !"
21 # #
22 % $
23 ' %&'
24 *(
25 *)*
26
27 +,-.
28 2/
29 10
30 112
31 |3456
32 |7
33 |8
34 |9
35 |:;<=>
36 1?@AB
37 DCD EF GH G? E?IJ
38 MCK
39 MLM
40 MN
41
42 O
43 M @@>
44 PQR GS TUV TWX TYZ [\]
45
46 ^_ T?`abcdefg Thijk
47 tlmn To
48 tp
49 tqr
50 ts tu tv
51 wxyz{|}~
52 |
53 
54 
55 |
56 t T
57 
58 
59 
60 
61
62 p
63 q
64 
65 PASSWORDLjava/lang/String; ConstantValue DEFAULT_PORTconnLjava/sql/Connection;hostuserpasswordportdbname<init>9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)VCodeLineNumberTable
66 ExceptionsK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V'(Ljava/lang/String;Ljava/lang/String;)VL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V(Ljava/io/File;)V()V getUserName()Ljava/lang/String;loadMySQLDriverreadConnectionFile getDbname setDbname(Ljava/lang/String;)VgetHostsetHost getPassword setPasswordgetUsersetUsercreateStatement()Ljava/sql/Statement;
67 executeSqlclosegetConnectionObject()Ljava/sql/Connection;printDbSizeInfogetRange((Ljava/lang/String;Ljava/lang/String;)[D:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[DgetAllIndexes4Table'(Ljava/lang/String;)[Ljava/lang/String;getCreateIndex4Table getColumnType8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; isKeyNumeric'(Ljava/lang/String;Ljava/lang/String;)Z getTables4Db()[Ljava/lang/String;getAllNumIds4KeyAndTable:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/Integer;getAllTxtIds4KeyAndTable9(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;getAllIds4KeyAndTable9(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/Object;
68 setSqlModegetStringFromDb&(Ljava/lang/String;)Ljava/lang/String; getIntFromDb(Ljava/lang/String;)IgetDoubleFromDb(Ljava/lang/String;)DgetStringsFromDb getIntsFromDb((Ljava/lang/String;)[Ljava/lang/Integer;getDoublesFromDb'(Ljava/lang/String;)[Ljava/lang/Double;
69 SourceFileMySQLConnection.java 3306  java/lang/StringBuilder jdbc:mysql:// :/   nieve   user.name  6Could not get user name from operating system. Exiting  com.mysql.jdbc.Driver   java/lang/IllegalAccessException CAn exception occurred while loading the mysql jdbc driver, exiting. java/lang/InstantiationException java/lang/ClassNotFoundExceptionjava/lang/Exception user.home java/io/File.my.cnf Warning: MySQL connection file : doesn't exist. Will use default parameters for connectionjava/io/BufferedReaderjava/io/FileReader  # [mysql][host=    port=user= password= database= java/io/IOException$Couldn't read MySQL connection file  . Error:  . Exiting  java/sql/SQLExceptionSQLException: SQLState: VendorError:   SHOW TABLE STATUS FROM  Name  Data_length  Index_length Table ##data: , index: Database  needs 
70 GB (data:). SELECT MIN(), MAX() FROM ;  WHERE ();java/util/ArrayListRSELECT DISTINCT INDEX_NAME FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA='' AND TABLE_NAME='';   java/lang/String    JSELECT COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA='' AND INDEX_NAME='' ORDER BY SEQ_IN_INDEX; CREATE INDEX  ON  (, GSELECT COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='' AND COLUMN_NAME=' int INTcharCHAR The key '' from table 'S' is neither numeric-based (int) nor text-based (char/varchar). Check what's wrong!ESELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='' ORDER BY TABLE_NAME DESC; Couldn't get table names from  for db=SELECT DISTINCT  FROM 
71 ORDER BY  java/lang/Integer SET SESSION sql_mode='  Couldn't change the sql mode to java/util/LinkedList [Ljava/lang/String;[Ljava/lang/Integer; java/lang/Double[Ljava/lang/Double;tools/MySQLConnectionjava/lang/Objectappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toStringjava/sql/DriverManager getConnectionM(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection;valueOf(I)Ljava/lang/String;java/lang/System getPropertyerrLjava/io/PrintStream;java/io/PrintStreamprintlnexit(I)Vjava/lang/ClassforName%(Ljava/lang/String;)Ljava/lang/Class; newInstance()Ljava/lang/Object;printStackTraceexists()Z-(Ljava/lang/Object;)Ljava/lang/StringBuilder;(Ljava/io/Reader;)VreadLine
72 startsWith(Ljava/lang/String;)ZindexOf(I)Ilength()I substring(II)Ljava/lang/String;trim
73 getMessagejava/sql/Connectionjava/sql/Statementexecute getSQLState getErrorCode(I)Ljava/lang/StringBuilder;java/lang/Mathpow(DD)D executeQuery((Ljava/lang/String;)Ljava/sql/ResultSet;java/sql/ResultSetnext getString getDoubleout(D)Ljava/lang/StringBuilder;(I)Dadd(Ljava/lang/Object;)Zsizeiterator()Ljava/util/Iterator;java/util/IteratorhasNext lastIndexOfcontains(Ljava/lang/CharSequence;)Zget(I)Ljava/lang/Object;getInt(I)Ljava/lang/Integer;parseInttoArray(([Ljava/lang/Object;)[Ljava/lang/Object;(D)Ljava/lang/Double;!'d**+*,*-**
74 Y  *  *  * :****
75 )*+ ,-./"0R2c3Md**+*,*-**
76 Y  *  *  * :****
77 >?@ ABCD"ERGcHMd**+****,
78 Y  *  *  * N*-***
79 QRS TUVW$XSZc[Mg**+*,*-**
80 Y  *  *  * :****
81 ghi jklm%nUpfqMxL**+
82 Y  *  *  * M*,**xyz {;}K~MxL**
83 Y  *  *  * L*+** ;KM
84 FKK**  ZWPK*!"<K*$"(K*&"K*(" # 4% H'Z  !%-1459AEHIMUYi)M+*Y,+,L***** +-"
85 Y . +/0 >1Y2Y+34:5Y:6787>97>:7 *=;`<=>?7 *=;`<=>{@7 *=;`<=>TA7 *=;`<=>-B7#*=;`<=> C2N
86 Y E +/F -G H YnqD+
87 !'-3:XY[lw%?BLfinqr* "*+ 
88 *
89 "*+
90 *"*+
91 *"*+
92 "
93 *I'M=*IM,+JW,K1
94 234Mf*L\L
95 Y N +O 
96 Y P +Q 
97 Y R +ST+U M"; A < =)>E?a@eB*JyI999VXZ9
98 : : ::
99 Y [ + : *I: \:]o^_: `a9ba9(`acIbac9c
100 Y d  e fg fhKc
101 Y i + j (c
102 ofk (
103 ofg 
104 ofl a:
105 Y N O 
106 Y P Q 
107 Y R STU"MbRSTU"W7XBYMZW[b\m]x^_`bcdkfg9hVisjxl<N:
108 Y m , n , o + p N*I:-\:]qRqRhKa:
109 Y N O 
110 Y P Q 
111 Y R STUx{MFwz|3}>~HR^jqx{}H ::
112 Y m , n , o + r - s :*I:\:]qRqRhKa:
113 Y N O 
114 Y P Q 
115 Y R STU MF >IT^jv}o
116 tYuM
117 Y v * w + x N*I:-\:],yzWhKa:
118 Y N O 
119 Y P Q 
120 Y R STU,{|:6,}:~|:  SjmMR-8BL\cjmo _*+M,|N6,J,2:
121 Y  * w +     :*I:\:
122 Y    +  : ]+y:
123
124 Y  
125  :   =:
126 Y  s : - ShKa:
127 Y N O 
128 Y P Q 
129 Y R STU-Mf Q\g5RW]X8
130 Y  * w +  , x N*-:.5e>*+,: >C >*
131 Y  ,  +  "
132 #7<cLtYuM
133 Y  *  N*I:-\:],yzWKh,{|L6,{+,|S:
134 Y  *  * 
135 Y N O 
136 Y P Q 
137 Y R STU+&MV#$
138 %&'1(;)E*U,\-c.k/w0/9345678: N*I:
139 Y  +  ,  + p :\:tYu:]zW{N6{-ShK
140 :U-MFDF G9HDIMJWKkMtNONQRVTUW  N*I:
141 Y  +  ,  + p :\:tYu:]yzW{|N6{-|ShK
142 :U-MFac d9eDfMgWhhjqk~lknosqrtY N*I:
143 Y  +  ,  + p :\:tYu:]yzW*,+6{N6{-|Sߧ*{|N6{-ShK
144 :U-MZ~ 9DMWhqz
145 Y  + x M*,uN
146 Y  + 
147 Y N -O 
148 Y P -Q 
149 Y R -ST-U!M*
150 !";Ws:*IM,+\N-] -y:-h,Ka:
151 Y N O 
152 Y P Q 
153 Y R STU36M: '-368Ur6*IM,+\N-] -6-h,Ka:
154 Y N O 
155 Y P Q 
156 Y R STU36M: '-368Ur9*IM,+\N-] -q9-h,Ka:
157 Y N O 
158 Y P Q 
159 Y R STU58M: )/5 8:Wt
160 ):Y:*IM,+\N-]-yW-h,K|::a:
161 Y N O 
162 Y P Q 
163 Y R STU adMJ '7!="C#K$U%a-d(f)*+,/,:Y:*IM,+\N-]-W-h,K::a:
164 Y N O 
165 Y P Q 
166 Y R STU dgMJ=> ABC'D:F@GFHNIXJdRgMiNOPQT,:Y:*IM,+\N-]-qW-h,K::a:
167 Y N O 
168 Y P Q 
169 Y R STU dgMJbc fgh'i:k@lFmNnXodwgristuvy

Properties

Name Value
svn:mime-type application/octet-stream