MySQL-Connector-Python
Naar navigatie springen
Naar zoeken springen
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Met P2 lukt dit:
#! /usr/bin/python import mysql.connector
maar met P3 lukt dit maar niet:
#! /usr/bin/python3 import mysql.connector
Traceback (most recent call last): File "./db-connection.py", line 2, in <module> import mysql.connector ImportError: No module named 'mysql'