how i can install mysql.connector python module in my garuda linux? which command should i use?

A simple search of myql.connector indicates that you want:

sudo pacman -S python-mysql-connector


how i can use mysql connector in my pycharm text editor?
i tried this?

File "/usr/lib/python3.10/", line 90, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
  File "/usr/share/pycharm/plugins/python-ce/helpers/pydev/_pydev_bundle/", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'mysql'

I can't say for sure, but this link may help:


thankks dear for your kind help may god bless you

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.