PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, January 14, 2022

[FIXED] Is there a way to connect Google sheets to MySQL(phpmyadmin )

 January 14, 2022     database, google-sheets, php, phpmyadmin     No comments   

Issue

So I have a Google sheet (is not mine) https://docs.google.com/spreadsheets/d/1bJWIwNPGa1nz5pO8TZMir4eh6p32YwFG6IgHPFt3PDI/pubhtml?gid=4&single=true&widget=false&headers=false&chrome=false and I want to insert in new database and to get update each day. Is this possible?


Solution

Sure you can. You can use Google Apps Script for this.

I recommend you go through the documentation about the JDBC service on how to connect to external DB from Apps Script.

Also, you want to fetch data from that sheet, but it appears the owner does not permit copying it or downloading it, so you should get authorization to at least download, that way you could open it with Apps Script and use the SpreadsheetApp to get the data from the sheet and pass it using JDBC to your MySQL instance.

Further reading: - Google Apps Script



Answered By - Aerials
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing