Database connection problem

1. Connect to a Mysql database locally but need to use a table data from a remote Oracle database. How can you achieve this function?
(you cannot directly copy the table, because the table data in oracle is real-time changing Mysql also needs the latest data)

Jul.28,2021

it is easier to implement in the application layer than in the data layer


upper layer business code implementation is good, your operation is a bit coquettish

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b2ba-34621.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b2ba-34621.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?