PyCharm - How to set up connection to mysql database

I just started programming Django in the PyCharm editor. I would like to establish a connection to a mysql server on the Internet. So I clicked on Data Sources > DB Data Source . Here where the horror begins. I have to select the JDBC Driver File , I don’t know which one I need to select, I suppose MySQL Connector . After that I need to select the JDBC Driver Class , just guess, but I would take com.mysql.jdbc.Driver . In addition, I have to specify the Database URL starting with jdbc:// . I have never heard of JDBC and all of this. It would be great if you could help me here!

Thanks in addition! John

+6
source share

Source: https://habr.com/ru/post/924411/


All Articles