Skip to content

Unknown unit m in duration 15m #576

Closed
@nostdm

Description

@nostdm

Hello,

This might be something I missed but I'm not exactly sure why doesn't it work.

I'm trying to add parameters to my database connection as specified in the README but I get this error:

2017/04/29 22:25:28 time: unknown unit m‌ in duration 15m‌

This is the full code:

db, err = sql.Open("mysql", "root:password@tcp(127.0.0.1:3306)/employees?readTimeout=15m‌")

Any ideas as to what's happening here?
Thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions