Skip to content

Message: Error 1059 - #42000 - Identifier name too long #129

Open
@rhande-mdsol

Description

@rhande-mdsol

I was using scalikejdbc-sync and now i want to use

scalikejdbc-async.

I have added

      "org.scalikejdbc"       %% "scalikejdbc-async" % "0.14.+",
      "com.github.jasync-sql" %  "jasync-mysql"      % "1.1.+"

to my dependencies

I am trying to setup a connection pool using

     val ds: HikariDataSource = {

  // read from config file 
   }

  AsyncConnectionPool.singleton(ds.getJdbcUrl, ds.getUsername, ds.getPassword)

        val query = SQLSyntax.createUnsafely(filteredQuery)
        val result = AsyncDB.localTx { implicit tx =>
        sql"$query"
              .map(rs => rs.long(1))
       .single()
       .future()
   }

but I get

Message: Error 1059 - #42000 - Identifier name is too long
The is nothing but my JDBC URL.
Is this a bug in the library ?

Metadata

Metadata

Assignees

No one assigned

    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