Skip to content

Doesn't handle user/pass incorrect or denied. (and possibly other errors) [moved] #18

Closed
@julienschmidt

Description

@julienschmidt

This is Issue 18 moved from a Google Code project.
Added by 2012-12-01T11:52:38.000Z by nobi...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Invalid).

Original labels: Type-Defect, Priority-High

Original description

<b>Problem summary:</b>
2012/12/01 06:39:42 &{0xf840059078 kevin:wrongpass@tcp(192.168.0.100:3306)/mysql
{0 0} [] false}
2012/12/01 06:39:42 <nil>
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
[MySQL] 2012/12/01 06:39:42 packets:78 EOF
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x50 pc=0x401281]

goroutine 1 [running]:
main.main()
        D:/programming/db.go:32 +0x281

goroutine 2 [syscall]:
created by runtime.main
        D:/dev/go/src/pkg/runtime/proc.c:225

goroutine 3 [syscall]:
syscall.Syscall6(0x774fa4d0, 0x5, 0x98, 0xf84004df00, 0xf840059208, ...)
        D:/dev/go/src/pkg/runtime/zsyscall_windows_windows_amd64.c:97 +0x55
syscall.GetQueuedCompletionStatus(0x98, 0xf84004df00, 0xf840059208, 0xf840059200
, 0xffffffff, ...)
        D:/dev/go/src/pkg/syscall/zsyscall_windows_amd64.go:506 +0x9f
net.(*resultSrv).Run(0xf840059108, 0x0)
        D:/dev/go/src/pkg/net/fd_windows.go:123 +0x97
created by net.startServer
        D:/dev/go/src/pkg/net/fd_windows.go:252 +0xfd
exit status 2

<b>Used go-mysql-version (e.g. May 26, 2012):</b>
May 30, 2012

<b>MySQL-Server version (e.g. MySQL-Server 5.5 or MariaDB 5.1):</b>
mysqld  Ver 5.1.66-0ubuntu0.11.10.2 for debian-linux-gnu on x86_64 ((Ubuntu))

<b>Used Operation System (e.g. Windows 7 64bit, Ubuntu 12.04 64bit, OS X</b>
<b>10.8):</b>
Ubuntu 12.04 64bit

<b>Example code which reproduces the error (optional):</b>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions