Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding root path back to test if service will run with permission
  • Loading branch information
Evan Langlais committed Apr 2, 2019
1 parent e2fd487 commit 18bb22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway.go
Expand Up @@ -45,7 +45,7 @@ func main() {
}

func dbConnect() {
sqlConf, err := ioutil.ReadFile(".mysql_goconf") // Read the db config file
sqlConf, err := ioutil.ReadFile("/root/.mysql_goconf") // Read the db config file
if err != nil {
fmt.Printf("Error reading MySQL config file: %v\n", err)
os.Exit(1) // If we can't connect to the database there's not much point in continuing
Expand Down

0 comments on commit 18bb22c

Please sign in to comment.