|
@@ -2,6 +2,11 @@ import sqlalchemy as db
|
2
|
2
|
# import mysqlclient
|
3
|
3
|
# mysql+pymysql://<username>:<password>@<host>/<dbname>[?<options>]
|
4
|
4
|
|
5
|
|
-engine = db.create_engine('mysql+pymysql://registro_escolar:mwgzHRXTPrS3JEnd@localhost/registro_escolar')
|
|
5
|
+# conneccion de corrada
|
|
6
|
+# engine = db.create_engine('mysql+pymysql://registro_escolar:mwgzHRXTPrS3JEnd@localhost/registro_escolar')
|
|
7
|
+
|
|
8
|
+# coneccion de oniel
|
|
9
|
+engine = db.create_engine('mysql+pymysql://root:@0.0.0.0/registro_escolar_1')
|
|
10
|
+
|
6
|
11
|
connection = engine.connect()
|
7
|
12
|
metadata = db.MetaData()
|