Problema con la conexión a MySQL
Publicado por Oswaldo (1 intervención) el 31/03/2017 23:19:19
Tengo este código:
Y me sale este error:
line 81, in Connect return Connection(*args, **kwargs)
line 193, in __init__super(Connection, self).__init__(*args, **kwargs2)
TypeError: an integer is required
Por favor si alguien me puede ayudar
Gracias
1
2
3
4
5
6
import MySQLdb
db = MySQLdb.connect(host = "localhost",
port = "3306",
user="root",
password = "abcdef",
db = "base")
Y me sale este error:
line 81, in Connect return Connection(*args, **kwargs)
line 193, in __init__super(Connection, self).__init__(*args, **kwargs2)
TypeError: an integer is required
Por favor si alguien me puede ayudar
Gracias
Valora esta pregunta


0