Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6184

'dict object' has no attribute 'rows', while trying to extract table from mariadb [closed]

$
0
0

i have a redhat 9 virtual machine on virtualbox that serves as the control node, it has ansible installed on it. I also have another virtual machine ubuntu 20.04 that serves as the target node, it has mariadb installed on it. The connection/ssh from redhat to ubuntu is functional and some playbooks are successfully executable as well.However, the playbook that extacts a table that i created inside mariadb is not retrieving anything. In other words the playbook that runs on the control node and extracts the table from the target node.

[On Ubuntu]MariaDB version is: mariadb Ver 15.1 Distrib 10.6.16-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper

[On redhat]The PyMySQL package is already installed, since mysqlclient was not found ( i have tried a million ways to install it and nothing worked)Package python3-PyMySQL-0.10.1-6.el9.noarch is already installed.

The python version is: Python 3.9.18Ansible version is: ansible [core 2.14.9]

The playbookThe output


Viewing all articles
Browse latest Browse all 6184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>