You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 line
193B

  1. import mysql.connector
  2. db = mysql.connector.connect(
  3. user='root',
  4. password='root',
  5. #host='10.5.0.5', # Docker address
  6. host='0.0.0.0', # Local address
  7. database='db'
  8. )