Friday, August 23, 2019

Django with mysql

Hi,

I am facing issue while downloading mysql client
Here i am using linux server and i do not have internet connection
Also downloaded all the packages from https://www.pypi.org
We have created user,password and database for django in a different mysql server 5.6

Things i have done:
First of all i do not have internet connection in linux server where i have installed django


i am using python 3.6.8
django 1.11
 dependencies -> pytz
                        ->sqlparse

then i started the server and it started.
installed python3-devel and mysql-devel from rhel repo

Then installed through pip3 install mysql-connector-python.whl
dependencies -> protobuf >=3.0.0
                       ->six >=1.9

from setting.py
I configured the databases

tried to runserver
ERROR:mysqldb console

Now found no mysql client
thought install mysql client 5.6 from os level but no luck

got mysql client 1.4.4 in pypi but all in windows os

googled and search many site but everywhere it is "pip install mysql client" but no internet.

Please help! As now the goal is change django from sqllite3 to mysql.


Thanks and Regards
Amit Samanta







--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bb37fac6-f9a7-4c1b-b563-a7557222b6a4%40googlegroups.com.

No comments:

Post a Comment