Jump to content


Photo

[Pending] error 500 with Django and Mysql

django mysql python

  • Please log in to reply
2 replies to this topic

#1 shniper

shniper

    Newbie

  • Members
  • 2 posts

Posted 11 August 2019 - 12:41 AM

Hello

 

well i have an error 500 thrown by the server after changing connection to mysql with django, it works all fine with sqlite3 but not with mysql

i did enable all connections from remote connection, i even tested to connect from my local computer and it worked

could it that the python modules aren't installed ? because it was all working before



#2 Luigi123

Luigi123

    Rank X Member

  • Moderators
  • 1,890 posts
  • Gender:Male
  • Location:Winnipeg, Manitoba, Canada

Posted 11 August 2019 - 04:03 AM

Moved to Customer Service.
Posted ImagePosted ImagePosted Image
Posted ImagePosted ImagePosted Image

#3 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 19,175 posts
  • Gender:Male

Posted 27 August 2019 - 11:52 AM

Yes, missing python modules will cause a 500 error. Post your import lines that you're using. You can also start with nothing and add the import lines one at a time until the 500 error occurs and that will narrow down which module is missing.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users