Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8943801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:52:40+00:00 2026-06-15T11:52:40+00:00

How can I setup my django application to connect to mysql when using Jython

  • 0

How can I setup my django application to connect to mysql when using Jython?

SETTINGS.py

DATABASES = {
    'default': {
        'ENGINE': ''django.db.backends.mysql', # should this be: com.ziclix.python.sql?
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:52:41+00:00Added an answer on June 15, 2026 at 11:52 am

    According to the Django docs and django-jython docs, you can install django-jython, and then use 'doj.backends.zxjdbc.mysql' as database backend.

    Also, remember to add the JDBC driver to your classpath:

    jython -J-classpath path/to/driver.jar manage.py runserver
    

    or

    export CLASSPATH="$CLASSPATH:/path/to/driver.jar"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you've got a database setup in Django, how can you have the TestRunner
I'm using a sqlite3 database set up as follows in settings.py : DATABASES =
i've got django-registration setup and working with my application. I'm on django 1.1 and
I'm using django-on-tornado to build an application that is similar to the chat applicatoin
I'm writing a Django application that is using pip & virtualenv to manage its
The Setup: I'm working on a Django application which allows users to create an
I have setup memcached (unix socket) for my django application. However it seems that
Setup: Django 1.1.2, MySQL 5.1 Problem: Blob.objects.filter(foo = foo) \ .filter(status = Blob.PLEASE_DELETE) \
I am trying to setup Django to use MySQL. I am getting the following
I have a django application set up using mainly the admin interface with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.