Comments (2)
from getting-started.
Hi @Awawdi and apologies for the super long delay getting to your issue.
It sounds like you might have been running into the issues related to the MySQL database not being found by the app. Unfortunately, the codebase (before yesterday) would silently hang waiting for DNS to resolve. Fortunately, that's been fixed and you should get a better indication when it's not working correctly.
Therefore, I'm going to close this issue. Feel free to open a new issue if you need any more assistance. Thanks!
from getting-started.
Related Issues (20)
- Run docker/build-push-action@v3 error HOT 1
- import os from flask import Flask from flaskext.mysql import MySQL # For newer versions of flask-mysql # from flask.ext.mysql import MySQL # For older versions of flask-mysql app = Flask(__name__) mysql = MySQL() mysql_database_host = 'MYSQL_DATABASE_HOST' in os.environ and os.environ['MYSQL_DATABASE_HOST'] or 'localhost' # MySQL configurations app.config['MYSQL_DATABASE_USER'] = 'db_user' app.config['MYSQL_DATABASE_PASSWORD'] = 'Passw0rd' app.config['MYSQL_DATABASE_DB'] = 'employee_db' app.config['MYSQL_DATABASE_HOST'] = mysql_database_host mysql.init_app(app) conn = mysql.connect() cursor = conn.cursor() @app.route("/") def main(): return "Welcome!" @app.route('/how are you') def hello(): return 'I am good, how about you?' @app.route('/read from database') def read(): cursor.execute("SELECT * FROM em
- Start
- Replace docker scan with Docker Scout HOT 2
- Old command from exec/terminal inside docker desktop are not accessible.
- ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1 HOT 11
- Connecting MySQL 5.1 container with python Error
- s
- codebuild fails in d middle of the Dockerfile
- Request for Adjustment: Relocation of Social Media Icons to the Left Side in a Vertical Layout for Optimal Utilization of Space
- Couldnt install nodejs and npm through docker file HOT 1
- Connection Issue from WSL to Docker Desktop Daemon on Windows
- Neither Microsoft azurite nor ArangoDB would launch or become available within docker
- RUN pip install -r requirements.txt not working
- ERROR: failed to solve: process "/bin/sh -c yarn install --production" did not complete successfully: exit code: 1
- Please enter a username matching the regular expression configured (addgroup error in Dockerfile)
- ERROR: failed to solve: error getting credentials - err: exit status 1, out: ``
- ERROR: failed to solve: process "/bin/sh -c yarn install --production" did not complete successfully: exit code: 139 HOT 1
- Docker Desktop wont start when installed on Ubuntu 24.04 HOT 1
- Image Building Best Practices page Invalid Node.js Link
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 getting-started.