You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Running Ubuntu 18.04 with golang 1.11.5/modules enabled. A brand new project with db-type of mysql fails to build with database.go:17:27: expected ';', found 'IDENT' url error.
Steps to Reproduce the Problem
$ buffalo new project --db-type=mysql
$ buffalo build
...
ERRO[0010] Error: ...project/a/database.go:17:27: expected ';', found 'IDENT' url
Info
### Buffalo Version
v0.13.13
### App Information
Pwd=/home/devon/code/testbuffalo
Root=/home/devon/code/testbuffalo
GoPath=/home/devon/go
Name=testbuffalo
Bin=bin/testbuffalo
PackagePkg=testbuffalo
ActionsPkg=testbuffalo/actions
ModelsPkg=testbuffalo/models
GriftsPkg=testbuffalo/grifts
VCS=git
WithPop=true
WithSQLite=false
WithDep=false
WithWebpack=true
WithYarn=true
WithDocker=true
WithGrifts=true
WithModules=true
### Go Version
go version go1.11.5 linux/amd64
### Go Env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/devon/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/devon/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/devon/bessd/code/testbuffalo/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build331049447=/tmp/go-build -gno-record-gcc-switches"
### Node Version
v10.15.0
### NPM Version
6.4.1
### Yarn Version
1.13.0
### PostgreSQL Version
PostgreSQL Not Found
### MySQL Version
mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapper
### SQLite Version
3.22.0 2018-01-22 18:45:57 0c55d179733b46d8d0ba4d88e01a25e10677046ee3da1d5b1581e86726f2alt1
### Dep Version
could not find a Gopkg.toml file
### Dep Status
could not find a Gopkg.toml file
### go.mod
module testbuffalo
require (
github.com/gobuffalo/buffalo v0.13.13
github.com/gobuffalo/buffalo-plugins v1.13.0 // indirect
github.com/gobuffalo/buffalo-pop v1.6.0
github.com/gobuffalo/envy v1.6.12
github.com/gobuffalo/flect v0.0.0-20190205211104-b2cb381e56e0 // indirect
github.com/gobuffalo/mw-csrf v0.0.0-20190129204204-25460a055517
github.com/gobuffalo/mw-forcessl v0.0.0-20180802152810-73921ae7a130
github.com/gobuffalo/mw-i18n v0.0.0-20190129204410-552713a3ebb4
github.com/gobuffalo/mw-paramlogger v0.0.0-20190129202837-395da1998525
github.com/gobuffalo/packr v1.22.0
github.com/gobuffalo/pop v4.9.6+incompatible
github.com/gobuffalo/suite v2.6.0+incompatible
github.com/jackc/pgx v3.3.0+incompatible // indirect
github.com/markbates/grift v1.0.5
github.com/unrolled/secure v0.0.0-20190103195806-76e6d4e9b90c
golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613 // indirect
golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 // indirect
golang.org/x/sys v0.0.0-20190204203706-41f3e6584952 // indirect
golang.org/x/tools v0.0.0-20190205201329-379209517ffe // indirect
)
The text was updated successfully, but these errors were encountered:
@lukasschlueter I ran into this on my project and reproduced with a blank project, so the database.yml was unchanged. I don't see any malformed values or special chars in the default database.yml.
Description
Running Ubuntu 18.04 with golang 1.11.5/modules enabled. A brand new project with db-type of mysql fails to build with
database.go:17:27: expected ';', found 'IDENT' url
error.Steps to Reproduce the Problem
Info
The text was updated successfully, but these errors were encountered: