The mysqldb package does need to be compiled for your os and python version.
There is a pure python alternative here: https://github.com/PyMySQL/PyMySQL In order to compile mysqldb you should only have to run the setup.py that is distributed with it. On Wed, Jun 25, 2014 at 10:25 AM, <[email protected]> wrote: > "import MySQLdb" works from python 2.6 ( outside maya ). But since maya is > using python 2.7 above command gives an error. > > # ImportError: No module named _mysql # > > Question : > > How do i get independant of download a module from net to run mysql ( or > an alternative ) through maya. > > What is step by step installation to get MySQL running on maya ( linux ( > centos ) and windows ) > > If their is a need to compile ( or any thing like this, how would a first > timer do it ). > > > > Thank you. > > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" 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/python_inside_maya/a7bacd4d-95aa-4954-a991-cade53856496%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- Tony -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" 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/python_inside_maya/CAJhmvsSuE47hAsSzqe%2BbjwAL%2BXzWe7aNcfgFBxfAfKL%3DKwhO%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
