Skip to content

ER_TOO_LONG_IDENT  #1823

@lukszy

Description

@lukszy

Hi there,
i'm using the latest version 3.1.0 of mysql2 and i'm running into issue at db connect.
Provided the host, username, pass and db name - when combined it returns long uri string (94chars) which mysql2 says it's too long to him

  code: 'ER_TOO_LONG_IDENT',
  errno: 1059,
  sqlState: '42000',
  sqlMessage: "Identifier name 'mysql://user_name_here:xxxxxxxxxxxxxxxxx@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/db is too long",
  sql: undefined

Running the connection via mysql client works fine.

is there anyway to configure or fix that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions