Execute SQL in a browser!
All the description stuff:
Platform - app.wayscript.com
Code from video -
https://gist.github.com/Derrick-Sherr...
import os
import mysql.connector
mydb = mysql.connector.connect(
host='',
user='',
password='',
port=3306,
database=''
)
sql = "SELECT * FROM customers;"
mycursor = mydb.cursor()
mycursor.execute(sql)
if 'INSERT' in sql:
mydb.commit() # required to make table changes
print("Last inserted ID:", mycursor.lastrowid)
if 'SELECT' in sql:
myresult = mycursor.fetchall()
for x in myresult:
print(x)
Mysql-connect:
https://dev.mysql.com/doc/connector-p...
Secrets in WayScript -
https://wsxdocs.wayscript.com/buildin...
Using WayScript, devs rapidly build production-grade microservices and tools with unprecedented speed and security. Get started for free today: http://wayscript.com
---------------------------
➤ TIMESTAMPS
➤ Questions, comments, or anything else? Join our Discord or drop us a line directly at founders@wayscript.com. We’re always around to help: / discord
➤ Follow WayScript on Social Media:
GitHub - https://github.com/wayscript
Twitter - / wayscripthq
LinkedIn - / ways. .
Instagram - / wayscript
Facebook - / wayscript
Start shipping internal tools that make a difference today. Visit us at wayscript.com.
On this page of the site you can watch the video online Quickly Execute SQL Online | Run SQL Files from your browser with a duration of hours minute second in good quality, which was uploaded by the user WayScript 19 April 2022, share the link with friends and acquaintances, this video has already been watched 3,077 times on youtube and it was liked by 16 viewers. Enjoy your viewing!