File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -212,12 +212,12 @@ func (mc *mysqlConn) writeAuthPacket() (e error) {
212
212
// User Password
213
213
scrambleBuff := scramblePassword (mc .server .scrambleBuff , []byte (mc .cfg .passwd ))
214
214
215
- pktLen := 4 + 4 + 1 + 23 + len (mc .cfg .user ) + 1 + 1 + len (scrambleBuff )
215
+ pktLen := 4 + 4 + 1 + 23 + len (mc .cfg .user ) + 1 + 1 + len (scrambleBuff )
216
216
217
217
// To specify a db name
218
218
if len (mc .cfg .dbname ) > 0 {
219
219
clientFlags |= uint32 (CLIENT_CONNECT_WITH_DB )
220
- pktLen += len (mc .cfg .dbname ) + 1
220
+ pktLen += len (mc .cfg .dbname ) + 1
221
221
}
222
222
223
223
// Calculate packet length and make buffer with that size
@@ -341,7 +341,7 @@ func (mc *mysqlConn) readResultOK() (e error) {
341
341
return mc .handleOkPacket (data )
342
342
// EOF, someone is using old_passwords
343
343
case 254 :
344
- e = errors .New ("It seems like you are using old_passwords, which is unsupported. See http ://code.google. com/p/go-mysql-driver /wiki/old_passwords" )
344
+ e = errors .New ("It seems like you are using old_passwords, which is unsupported. See https ://github. com/Go-SQL-Driver/MySQL /wiki/old_passwords" )
345
345
return
346
346
// ERROR
347
347
case 255 :
You can’t perform that action at this time.
0 commit comments