The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
module DBConfig
USERNAME = "samplename"
PASSWORD = "sample123password"
ADDRESS = "127.0.0.1"
PORT = "3306"
DBNAME = "my-db"
CONNECTION = "mysql://#{USERNAME}:#{PASSWORD}@#{ADDRESS}:#{PORT}/#{DBNAME}"
end
Gives me the error:No address found for sample123password@127.0.0.1:3310 over TCP (Socket::Error)
brew tap
and brew install
and I get the dyld: Library not loaded: /usr/local/opt/libevent/lib/libevent-2.0.5.dylib
error when running