Como — Instalar Presto 8.8
curl -L https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/8.8/presto-cli-8.8-executable.jar -o presto chmod +x presto sudo mv presto /usr/local/bin/ Run a test query:
connector.name=mysql connection-url=jdbc:mysql://localhost:3306 connection-user=root connection-password=your_password You can replace mysql with tpch for testing (no extra setup):
-server -Xmx4G -XX:+UseG1GC -XX:G1HeapRegionSize=32M -XX:+UseGCOverheadLimit -XX:+ExplicitGCInvokesConcurrent Adjust -Xmx based on your available RAM. For a single-node setup (coordinator + worker): como instalar presto 8.8
# Ubuntu/Debian sudo apt update sudo apt install openjdk-11-jdk -y sudo yum install java-11-openjdk -y
sudo nano /etc/presto/catalog/tpch.properties Content: curl -L https://repo1
cd /opt/presto bin/launcher start Check status:
com.facebook.presto=INFO Presto needs a catalog to query data. Create a catalog for MySQL: como instalar presto 8.8
sudo nano /etc/presto/config.properties Add: