Tagged Questions
0
votes
3answers
230 views
Python-devel for python 2.7 on CentOS 6.4
Ok, i want to run django web-application on production VPS. Operation system of the VPS is CentOS. Application code written on Python 2.7. I have already installed Python 2.7 with configured virtual ...
-1
votes
1answer
39 views
Installing LAMP on centOS using PERL and Python [closed]
I would appreciate being pointed to a good reference for installing Mysql, Perl and Python (bypassing PHP) for centOS 6.xx, I just cant seem to find one. I think there is also a DBI driver that I'm ...
-1
votes
1answer
80 views
fatal error 'stdio.h' Python 2.7 on Mc OS X 10.7.5 [closed]
I have this weird issue on my Mac OS X 10.7.5
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:33:10: fatal error: 'stdio.h' file not found
What caused the above error?
...
0
votes
1answer
59 views
MySQL timeout counts even though script is running
I have 2 pairs of python scripts that run 24/7. 2 of them perform data insertions, 2 of them perform analysis. What happens is when I look at the connections in MySQL Workbench the 2 performing the ...
2
votes
2answers
753 views
Error 2006: MySQL server has gone away
I'm running a Python Pyramid app on a CentOS server using uWSGI and nginx. I'm using SQLAlchemy as an ORM, MySQLdb as the API, and MySQL as a database. The site hasn't gone live yet, so the only ...
1
vote
1answer
107 views
MySQL in VMWare Ubuntu 11.10 64bit, Configuration
Can anyone suggest an optimal setting for what I'm doing? (Note that this is a one time job, after finishing my code, I'll put this back to development setting.)
I am setting up a 64bit Ubuntu 11.10 ...
0
votes
2answers
205 views
Execute local (bash|python) script with mysql SQL
Basically I want to create a trigger so that when a field is updated it kicks off a local bash script (or python...whatever) to kick off a workflow (emails, work requests, etc). Is it possible to ...
0
votes
3answers
2k views
IO Wait causing so much slowdown (EXT4 JDB2 at 99% IO ) During Mysql Commit
I am writing an indexer, using python, which indexes documents and insert them into Database, Before it was single process but now i made it to multiprocessing with 4 parallel processes running.After ...
3
votes
1answer
643 views
virtualenv gcc error MySQL-python
I am trying to install MySQL-python through PuTTY with virtualenv.
Specs.
*CentOS-6.0
*Python2.6
So I have read many sites and the biggest thing I see is python-dev, and python-devel(btw I don't ...
1
vote
2answers
302 views
MySQL error during a large upload of data
I'm using a python script with the python library MySQLdb to upload a large amount of data to a local MySQL database. When I used a sample of the data everything ran fine and uploaded. Now I am using ...
0
votes
2answers
255 views
ubuntu 11.04 install mysqldb for custom python2.5
ubuntu 11.04 has native python2.7 i build python2.5 from source to /usr/local/python2.5/bin, and try to install mysqldb for my custom python2.5 install. Also i use virtualenv. I switch to my env with ...
0
votes
1answer
146 views
Distributing a Python/Django app and handling database replication
We have developed a Python/Django app which we would like to distribute to clients, so they can run it locally (on a VM). We are doing this so they can still use the app if their internet connection ...
0
votes
1answer
32 views
Is there any way to get databases belong to particular user
I am making script to backup users home directories and databases.
i can make backup by going through dirs but i am not able to find a way to gets databases belong to particular user
0
votes
1answer
428 views
Installing python-mysql on windows with AppServ
I am trying to install the python module "mysql" on Windows 7 with apache installed with AppServ (installation includes Apache, MySQL and PHP).
When I try to run the setup.py script of "python-mysql" ...
0
votes
1answer
1k views
python mysqldb - mysql server gone away - can't reconnect
When attempting to import a bunch of data into mysql tables using python and mysqldb, I run into the following error '2006 - mySQL Server has gone away', and then I am unable to reconnect again within ...
0
votes
1answer
260 views
mysql config, mysql5, macports, python, django
This is the settings.py file for python. I set mysql up via macports (mysql5 & mysqldb)
The problem is that I am unsure if I have the configuration correct before I sync the db. The user name to ...
1
vote
1answer
389 views
MySQLdb on Windows
I'm trying to run the simple django tutorial on my windows 7 machine after having just read the python tutorial. But it complains, "django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb ...
1
vote
1answer
740 views
How do I install MySQLdb on a Python 2.6 source build, on Debian Lenny?
I've installed Python 2.6 from source on my Debian Lenny server, as Lenny does not have the python2.6 package. So, my Python 2.5 has MySQLdb installed and working just fine because I installed the ...
1
vote
1answer
1k views
Problems installing MySQL-python via yum / missing dependency / incompatibility problem?
I have come up against problems installing MySQL-python via yum.
Our server is running Centos 5.5 and MySQL Version 5.1.45, Python-dev is
installed.
Yum complains about the missing dependency ...
2
votes
3answers
749 views
Accessing MySQL server via VPN in python
Hi I have a MySQL server that I need access through a VPN.
I use MySQLdb package to access MySQL server in Python.
When I can access the server without VPN, it works fine, but when I'm at certain ...
0
votes
1answer
108 views
How can I install php and mysql on ubuntu
How can I install php with mod_python and mysql on ubuntu 9 64bit if I have ALREADY apache2 installed?
Best Regards,
0
votes
2answers
628 views
Installing mysql-server with python ssh connection
I'm writing a script in Python, which is connecting to server via ssh, then installing some packages. But there is problem with dialogue box, where i can type in a root password- i don't know how to ...
0
votes
2answers
503 views
nginx and Server-Side Scripting/CGI
Hey all, I've read up on the wonders of nginx the last few days and recently downloaded it....they only question I have is how exactly do you run files on it? I went to localhost in my browser, and ...
1
vote
1answer
1k views
Installing the MySQLdb Python package
I'm trying to install the MySQLdb Python package on my CentOS 5.1 machine, without success.
At first I tried using easy_install, but the version it installed was 1.2.1, which was too old for Django, ...
2
votes
3answers
119 views
To know whether my Uni can run Python web applications
I am completing my first database project.
I am going to set up mod_wsgi to Apache such that I can run Python webframework on my Uni's servers. I am not sure whether my Uni has those tools or not.
My ...