i have a MySQL database in cpanel and i want to connect my django project to this database when i try to connect it it show a message that i can't connect to localhost but i don't want to connect to localhost i want to connect to my remote database in cpanel. i have tried to connect to (MySQL workbench) and it connected without a problem.
Connect remote mysql to django
457 Views Asked by Achraf El Hadi At
0
There are 0 best solutions below
Related Questions in DJANGO
- Display images on Django Template Site
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Django invalid literal for int() with base 10:
- Removing URL features from tokens in NLTK
- Django Noob URL to from Root Page to sub Page
- Django Admin tables not displaying correctly
- Django with chartkick
- Django urls.py not rendering correct template
- django form errors before submit
- django admin: custom app_index with context
- Display multiple models in one view in Django
- Unexpected NoReverseMatch error when using include() in urls patterns
- Search for a key in django.core.cache
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Django flush won't load fixtures
Related Questions in DJANGO-REST-FRAMEWORK
- CORS in ionic app and django
- DjangoRestFramework Class Serializers missing "Meta" attribute?
- django rest framework - token authentication logout
- Django Rest Framework + React + Reflux: Can't GET new objects
- Is it possible to restrict url access from application only in Django REST
- Using QHttpMultiPart with QHttpPart Binary and Form Data
- django rest framework search filter all fields
- How to install python django rest framework on fedora 21 with yum?
- Django REST : Making a custom serializer return proper error message
- Why `create()` method of django rest framework serializer return a value?
- Automatically add all model fields to django rest serializer
- django rest framework - adding to views.obtain_auth_token
- How to deserialize nested objects with Django Rest Framework
- Django REST Framework - Update object with FK to a model with unique field
- Django user login through api
Related Questions in MYSQL-PYTHON
- local variable referenced before assignment in strange condition
- Invalid syntax when inside class python v2.7
- ImportError: No module named MySQLdb even when Mysqldb is installed
- installation error of mysql for django 1.8
- Python - Running multiple mysql inserts without waiting for completion using a queue
- Python code not executing in order? MySQLdb UPDATE commits in unexpected order
- Problems with MySQLdb python
- ImportError: this is MySQLdb version (1, 2, 4, 'beta', 4), but _mysql is version (1, 2, 5, 'final', 1)
- ImportError: libmysqlclient_r.so.16
- PySide QMySql driver on 64 bit Python
- Python MySQLdb exit on duplicate entry
- Run MySQL to load CSV to MySQL in Python 2.7 -
- Trouble passing in variable for column name in mySQLDB for python
- Python MySQLdb "INSERT INTO" Issue
- Accessing MySQL from multiple views of a web site
Related Questions in DJANGO-MYSQL
- Django - Time aggregates of DatetimeField across queryset
- How to use mysql-connector mysql adapter with django??/
- Multiple databases in same MySQL server
- Python - Django, Cannot install mysqlclient using pip
- Facing problem in installing mysqlclient in python
- JsonField in Django for MySQL
- Django Annotate ExpressionWrapper Does not Return Expected Type
- How can I get an old Django project back and running like it was before?
- Is it possible to connect local django project to MySql running on AWS EC2? How?
- my user_id profile database is null, how i insert the value in user_id?
- Django configuring different databases
- Django Query Annotation Does Not Support math.tan() Calculation
- Install mysqlclient for Django in MacOs
- Django - MySQL (1170, "BLOB/TEXT column 'my_column' used in key specification without a key length
- How to store array in mysql database using django model?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?