Explore tweets tagged as #mysqlcursor
yesterday learned mysql connector,mysql cursor,python subprocess,python shlex and python wget functions. #wget #subprocess #shlex #mysqlcursor #mysqlconnector #python #database
0
0
1
mariadb パッケージと互換性があるのは mysql-connector-python パッケージかな。 「cursor = cnx.cursor(named_tuple=True)」 MySQL :: MySQL Connector/Python Developer Guide :: 10.5 cursor.MySQLCursor Class
1
0
1
MariaDB のときはクエリに「?」を入れていたけど MySQL の場合は「%s」っぽい。 "Specify variables using %s or %(name)s parameter style" MySQL :: MySQL Connector/Python Developer Guide :: 10.5.4 MySQLCursor.execute() Method
1
0
0
$satz = $mySqlCursor->fetchAll(PDO::FETCH_ASSOC); while ($satz) { echo $satz[vorname]; } finde den fehler...
2
0
2
@shimakaze_soft そう、show columns table_nameしたらちゃんとbinary,txt,longtextって表示されるのに、cursor.descriptionの結果では全部同じ252という型で入ってるから、MySQLの方が内部的に全部blobにしてるんだろうな https://t.co/AQz0qXp6dS
1
0
0
callprocの戻り値でmysql-connectorだと結果が入るがMySQL-pythonでは入らずselect必要と知った https://t.co/1rKRkIamMi
https://t.co/btzhCCxIi0
0
0
0
WAIT... is there literally *NO WAY* to get the Database connection or hostname information in Python from a cursor object!?!? WTF !? Am I missing it somewhere? It doesn't appear to be in the docs... https://t.co/jAeBn4Bbks
1
0
0
MySQL :: MySQL Connector/Python Developer Guide :: 10.5.5 MySQLCursor.executemany()
0
1
0