↧
QUERY A MYSQL DB AND SEND RESULTS AS CSV FILE VIA EMAIL
connect to db connect to smtp server execute the query create a csv file send it (to,cc,bcc)
View ArticleCOPY MYSQL ROWS FROM A DATABASE TO ANOTHER
connect to db1 execute query to extract everything we need connect to db2 copy data collected at point 2 close connections
View ArticleSELECT DATE AND HOUR YYY-MM-DD HH UNIX_TIMESTAMP
SELECT DATE AND HOUR YYY-MM-DD HH UNIX_TIMESTAMP
View ArticleExtract data from different MySql databases and write results into separated...
set credentilas set databases dictionary set sql query for cycle to extract data from all databases wirte results in separated csv files NOTE this script includes also column names :D
View Article