@@ -12,7 +12,7 @@ import (
1212
1313func Example_execute () {
1414 ctx := context .TODO ()
15- db , err := ydb .Open (ctx , "grpcs://localhost:2135/?database=/ local" )
15+ db , err := ydb .Open (ctx , "grpcs://localhost:2135/local" )
1616 if err != nil {
1717 fmt .Printf ("failed to connect: %v" , err )
1818 return
@@ -55,7 +55,7 @@ func Example_execute() {
5555
5656func Example_streamExecute () {
5757 ctx := context .TODO ()
58- db , err := ydb .Open (ctx , "grpcs://localhost:2135/?database=/ local" )
58+ db , err := ydb .Open (ctx , "grpcs://localhost:2135/local" )
5959 if err != nil {
6060 fmt .Printf ("failed to connect: %v" , err )
6161 return
@@ -99,7 +99,7 @@ func Example_streamExecute() {
9999
100100func Example_explainPlan () {
101101 ctx := context .TODO ()
102- db , err := ydb .Open (ctx , "grpcs://localhost:2135/?database=/ local" )
102+ db , err := ydb .Open (ctx , "grpcs://localhost:2135/local" )
103103 if err != nil {
104104 fmt .Printf ("failed to connect: %v" , err )
105105 return
@@ -123,7 +123,7 @@ func Example_explainPlan() {
123123
124124func Example_explainValidate () {
125125 ctx := context .TODO ()
126- db , err := ydb .Open (ctx , "grpcs://localhost:2135/?database=/ local" )
126+ db , err := ydb .Open (ctx , "grpcs://localhost:2135/local" )
127127 if err != nil {
128128 fmt .Printf ("failed to connect: %v" , err )
129129 return
0 commit comments