[Python] RuntimeError: Failed raising error. Mysql-connector-python

Discussão em 'Python' iniciado por Stack, Dezembro 22, 2024.

  1. Stack

    Stack Membro Participativo

    connection = mysql.connector.connect(
    host=ip,
    user=user,
    password=password)


    Hello. I use mysql-connector-python https://pypi.org/project/mysql-connector-python When i run this code on my PC everything fine (Python 3.12) But when i try to execute this on other PC, it gives me this error RuntimeError: Failed raising error

    BUT. when i change the ip to 127.0.0.1 or just not neccessary ip it gives just an error that i type wrong host.

    I tried to execute this on different python version since 3.10 to 3.13 and on 3.10 it said Process finished with exit code -1073741819 (0xC0000005)

    I use Pycharm

    I tried to change python versions, start pycharm with admin rights, reinstall libary

    Continue reading...

Compartilhe esta Página