Comments (4)
Could you provide more details? Are you able to connect to your MySQL database outside of the application?
from gowebapp.
Actually I'm new in go. I'm able to connect bolt from this project but inside config.json file changing database type bolt to mysql this error is happening. Is there any additional import needed for connecting mysql? This is frist time I'm trying to connect mysql in go.
from gowebapp.
Welcome to Go! The actual MySQL server is not actually included with the program. You need to set one up yourself. You can either download and install MySQL from their website or you can use either one of my utilities:
- Create a portable version of MySQL - https://github.com/josephspurrier/goappmation
- Run just the MySQL component of my WAMP Stack: https://github.com/josephspurrier/surfstack-wamp
from gowebapp.
Thank you very much
from gowebapp.
Related Issues (20)
- Your token expired, click here to try again. HOT 1
- How to make a template function to add values HOT 1
- Call parameter in config.json from middleware/controller HOT 1
- How to write the received note in a json file? HOT 2
- Sending CSRF token in jQuery POST? HOT 1
- recaptcha v3 not supported HOT 2
- How to build secretkey HOT 2
- initial HOT 2
- closed? HOT 2
- redis
- How to use redis as session backend? HOT 1
- How to create global variable? HOT 1
- How to remove any user session? HOT 1
- How to user both MySQL and BoltDB? HOT 1
- Too many open files HOT 11
- How to add go mod to the project? HOT 5
- Embed Files in Go 1.16 HOT 4
- question: how bind url parameter like /view/:id HOT 1
- How to split route into several files? HOT 2
- Embed static assets HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gowebapp.