Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,6 +78,7 @@ async def connect_to_database(connection: DatabaseConnection):
|
|
| 78 |
)
|
| 79 |
query_schemas = "SELECT schema_name FROM information_schema.schemata"
|
| 80 |
query_tables = "SELECT table_name FROM information_schema.tables WHERE table_schema = %s"
|
|
|
|
| 81 |
elif connection.database_type == "mysql":
|
| 82 |
print(f"inside mysql",connection.server,connection.port,connection.databaseName,connection.username,connection.password)
|
| 83 |
conn = mysql.connector.connect(
|
|
|
|
| 78 |
)
|
| 79 |
query_schemas = "SELECT schema_name FROM information_schema.schemata"
|
| 80 |
query_tables = "SELECT table_name FROM information_schema.tables WHERE table_schema = %s"
|
| 81 |
+
print(query_tables)
|
| 82 |
elif connection.database_type == "mysql":
|
| 83 |
print(f"inside mysql",connection.server,connection.port,connection.databaseName,connection.username,connection.password)
|
| 84 |
conn = mysql.connector.connect(
|