Skip to content

Cannot connect to database to query MemoryTable #1314

@osawyerr

Description

@osawyerr

Hi there.

Following the example code here - https://github.com/dolthub/go-mysql-server/blob/main/_example/main.go

I can't connect to the server to query a MemoryTable using the command below. The error is also shown

mysql --host=127.0.0.1 --port=3306 -u root mydb -e "SELECT * FROM mytable"
ERROR 1045 (28000): User not found 'root'

There doesn't seem to be an obvious way to configure users.

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