MySQL C API installation Fails (no replies)
Attempting to build mysql-connector-python with the C extensions enabled. Python module builds correctly, but warns: "MySQL C API installation invalid (my_config.h not found)" I've tried with both...
View ArticleConnection problem, error message (no replies)
Hi, I would appreciate some help. I have been using a mySQL database called "evette" in my veterinary clinic. This database is installed on the reception computer and I can access it from my...
View Articleduring string formatting, Wrong number of arguments (no replies)
(1) Here is prove that it does work: >>> cnx = mysql.connector.connect(............) >>> cur = cnx.cursor() >>> cur.execute("SELECT %(name)s, %(name)s", {'name': 'ham'})...
View ArticleUpgrade to Python Connector Fails (3 replies)
Windows 8.1 MySQL 5.6.16 64 bit Upgrade of Connector/Python 2.7.1.0.12 to 2.7.1.1.5 fails. It cannot find python.exe in D:\Python27 I have set the path D:\Python27 in environment variables and can run...
View ArticleImportError: No module named connect (3 replies)
I have been trying to install the MySQL Connect module for a day and a half. First I got an error saying that "No module named mysql" was installed. After a lot of trial and error I got passed that. I...
View ArticleQueries with python and html (no replies)
I am new to scripting. I am using python and html to create a web interface to update and query mysql on CentOS 6.6. I am using MySQL version 14.14, distibution 5.1.73, python version 2.6.6, apache...
View ArticleMySQL Connector wont install with python 3.5 (no replies)
I'm on Centos 7. I was running anaconda, but mysql connector doesnt play nice with anaconda. So, after installing the MySQLconnector rpm, I removed anaconda and installed the official Python 3.5....
View Articlepip install (1 reply)
Hi, I am developing one API server for my project and I am using 'pip' to install relevant modules in python environment. I used mysql-connector-python 2.0.4 (inside of PIP) but this gave me some...
View ArticleMySQL-connector through SSH-tunnel (no replies)
Hi everybody, I am using windows 7 with Python 3.4 (with Pycharm) and try to acces a remote mySQL-database through SSH with a private key, just like it is working with MySQL-Workbench in the following...
View Articlepython connector (no replies)
Why are the python connectors restricted to the exact version number? When is the connector for 3.5 comming.
View ArticlePython login (no replies)
need website code which lets a user enter a desired rental period, then displays a list of all cars available during this period. CREATE TABLE cars( plate varchar(10) NOT NULL, description...
View ArticleSQL injection prevent (1 reply)
What can be done to prevent SQL injection # connect to database via ssh-tunnel and run query cnx = mysql.connector.connect(user='p11179711', password='VRandhawa51', host='127.0.0.1',...
View Articlemysql user permissions (no replies)
mysql user permissions a) how to write “special password string” that will grant you access for any name. (b) Create another “special password string” that will tell you the admin password.
View ArticleWhat can be added to prevent SQL injection (no replies)
What can be added to prevent SQL injection # query to check password and get permissions query = "select permissions from users where name=? and pwd=?".format(name, pwd) # setup ssh tunnel with...
View Articlemysql.connector error reading LONGBLOB (no replies)
myTable has three columns: ('timeStamp', 'datetime') ('modelName', 'varchar(20)') ('model', 'longblob') When I try to SELECT from myTable, a TypeError occurs. Not sure why. ............ Error...
View ArticleMonitor a Query then retrieve data using process ID (3 replies)
Is there a way to monitor a query to see when it is complete and then retrieve data using the process ID. I have an application that is executing some pretty large queries. What I would like to do is...
View Articlesick and twisted behaviour (no replies)
Hello, apparently I can create one cursor , execute one query and that's it If I repeat the query , then no queries are pushed to the db I cant use multiple cursors and I cant reuse the same cursor to...
View Article5.2 Creating Tables Using Connector/Python code does not work (1 reply)
Hello, I am working through the MySQL Connector/Python Developer Guide on this website and the code appears to be non functional. Specifically at...
View ArticleErrors on mysql sandbox create of replication sandbox (1 reply)
Hello to all I have been attempting to get just a small replication testing environment set up and I am running into problems. I have mysql-5.5.51-linux2.6-x86_64.tar.gz but when I run...
View ArticleMySQLdb connection issues (no replies)
I'm having issues connecting to mysql from my python script, here is what i get, [jonathan@hosname sql_scripts]$ python sql.py Traceback (most recent call last): File "sql.py", line 14, in...
View Article