Learn how to set up a connection to a MySQL database from Presto.
- [Narrator] Now let's take a look here at…how to connect to MySQL from Presto.…I'm already logged into Presto…where we left off…so I'm just going to jump out of here…and in fact I'm going to shrink this window down…just a little bit and use the exercise files…which I downloaded with this course.…They're just on my desktop…and if I double-click those…you'll see that I have a bunch of files here…and the one associated with this specific clip…which is 3.2_ConnectingToMySQL…when I drag that over is has all the commands…and everything that we're going to need…specifically the ones about creating…this table here.…
First what I want to do is login to MySQL…and that's preloaded on my virtual machine.…I'll just type MySQL -u for the user…the username and password is root and root.…Then I'm going to copy some syntax here.…You can also get this from Wikipedia…is where the data comes from…which is in the reference on the file there.…If you want you could convert the CSV file…which is from that Wikipedia page…over to a sequel statement…
Data science expert Ben Sullins helps you get up to speed with Presto, and leverage it to accomplish a wide-range of data science and analytics tasks. He uses different interfaces with Presto—such as R and Tableau—and digs into the expressive SQL language that Presto offers for your analysis. At the end of this course, you'll know the key concepts of Presto and how to use them to take full advantage of your modern big data system.
- What does Presto do?
- Running Presto
- Connecting from Tableau and R
- Connecting to Hive, MySQL, and the local system
- Retrieving data
- Combining data sources
- Basic SQL functions
- Advanced SQL functions
- Migrating from Hive
Skill Level Intermediate
SQL: Data Reporting and Analysiswith Emma Saunders2h 16m Intermediate
Advanced SQL for Data Scientistswith Dan Sullivan1h 24m Advanced
Cassandra Data Modeling Essential Trainingwith Dan Sullivan1h 38m Intermediate
1. Introducing Presto
2. Running Presto
4. SQL Syntax
5. Basic SQL functions
6. Advanced SQL Functions
7. Migrating from Hive
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.