I downloaded the mysql client wheel for the version that I am using , then worked fine. But you will need internet.
On 8/23/19, Khalifa Gueye <[email protected]> wrote: > Hi, > With python 3.6, you have To install mysqlclient 1.3.14. I try with others > version of mysqlclient but no result > > Le ven. 23 août 2019 à 14:55, Amit Samanta <[email protected]> a > écrit : > >> 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 >> <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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/bb37fac6-f9a7-4c1b-b563-a7557222b6a4%40googlegroups.com >> <https://groups.google.com/d/msgid/django-users/bb37fac6-f9a7-4c1b-b563-a7557222b6a4%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAEqgwix4Asazapv%2BOn8F_1GbE7n5YAAdavOnoCav6x-s2jFANA%40mail.gmail.com. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANA6gvi%2BNtC-r0GA-h51YBVdChME9mn_Kzooipqof3r9rxPbHA%40mail.gmail.com.

