how to import mysqldb

Problem :

I have installed MySqldb through .exe(precompiled). Its is stored in site-packages. But now i don't know how to test, that it is accessable or not. And major problem how to import in my application like import MySqldb. Help me i am very new techie in python i just want to work with my existing Mysql. Thanks in advance...

Solution :

Just open your CMD/Console, type python, press Enter, type import MySQLdb and then press Enter again.

If no error is shown, you're ok!

Mysql Tutorials

Mysql Howto..

How do I set any data while script still executing?

Mysql - How can I select column where row is in array?

How to connect Android with MySQL using Mysql JDBC driver

MySQL: How to fetch by “New and Bestselling” like amazon?

How do i pass a comma separated list of numbers to my MYSQL as a string

How would you design a table to keep track of users' likes and dislikes in mysql

When creating a view in MySQL, how to define a column as the result of calculations using other columns in the same view?

How to format java date toString values in a database field with text data type into a mysql date representation?

how to get records from field having contain field ids like (1,2,3) in a field in mysql?

how to avoid deadlock in mysql

How to determine what part of an AJAX application is slowing things down? [closed]

how can calculate the total price for 5 days (mysql ) hotel booking system

how to add a foreign key that references 2-columns primary key with “limited length”

How to iterate through a MySQL table with Python?

How to get information from 2 tables at once in PHP and MySQL?

How can I keep HTML styling in a php form storing data in MySQL?

How to encrypt mysql password in php (or how to defeat automated code scanner red flag)

How to show only few lines from a body text

How to export MySQL works that works in all version

Not sure how to approach this with a mySQL query for two tables

Drupal & PHP/MySQL : How to compare fields with current user's field?

How to order grouped results by last id using Eloquent and MySQL?

How to jump to a particular row in MySQL using PHP

how to store constants in mysql

How to use like query with count value in mysql in laravel 4.2

How to prevent Hibernate from appending hostname to username with MySQL

How to display mysql count results from one table in different columns?

How to get MySQL database values in dropdown using python cgi?

How do I setup my MySQL with Eclipse IDE?

How to convert 12 to 24 in MySQL opencart