Skip to content

Dolt Unable to Resolve Default Branch Head Error #10086

@lihh1992

Description

@lihh1992

Problem Description:
When running the dolt sql command, the following error occurs: "cannot resolve default branch head for database 'insight_metabase': 'main'"

Environment Information:

  • Dolt Version: 1.76.2
  • Database Name: insight_metabase
  • Default Branch: main
root@dolt-0:/var/lib/dolt# dolt sql
# Welcome to the DoltSQL shell.
# Statements must be terminated with ';'.
# "exit" or "quit" (or Ctrl-D) to exit. "\help" for help.
> exit
Bye

root@dolt-0:/var/lib/dolt# cd/db/dolt
root@dolt-0:/db/dolt# dolt sq 
# Welcome to the DoltSQL shell.
# Statements must be terminated with ';'
# "exit" or "quit" (or Ctrl-D) to exit. "\help" for help.
Error 1105 (HY000): cannot resolve default branch head for database 'insight_metabase': 'main

root@dolt-0:/db/dolt# dolt version
dolt version 1.76.2
Warning: unable to query latest released Dolt version
root@dolt-0:/db/dolt#

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions