Closed Shruti2208 closed 4 years ago
let user = OHMySQLUser(userName: "root", password: "root", serverName: "localhost", dbName: "dev2qa", port: 3306, socket: "/Applications/MAMP/tmp/mysql/mysql.sock")
ℹ Cannot connect to DB. Check your configuration properties.The connection is broken: MySQL server has gone away
What should be the value of Socket if using localhost?Not using MAMP, instead using workbench to create tables.
ℹ Please link to or upload a project we can download that reproduces the issue.
What did you do?
let user = OHMySQLUser(userName: "root", password: "root", serverName: "localhost", dbName: "dev2qa", port: 3306, socket: "/Applications/MAMP/tmp/mysql/mysql.sock")
What happened instead?
ℹ Cannot connect to DB. Check your configuration properties.The connection is broken: MySQL server has gone away
What did you expect?
What should be the value of Socket if using localhost?Not using MAMP, instead using workbench to create tables.
OHMySQL Environment
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.