Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
348 views
in Technique[技术] by (71.8m points)

node.js - Is there any way to use mysql workbench database in AWS lightsail through nodejs stack?

I'm looking for a way to connect the Instance's database on Amazon Lightsail with MySQL Workbench remotely(from my local pc).

Pls note: I'm not looking to solve this through AWS IAM and paid database services, now I'm trying to solve these as cheaply as possible at the moment and I'm not using wordpress.

The following things that i had done.

  • built a website (using html, css, js)
  • hosted on AWS lightsail
  • configured on linux server and with node stack
  • transferred website data/code using filezilla
  • Installed putty

After doing this, my website is working fine without ssh,

Now I wanted to create a login feature for students and staffs, I'm trying to enable customized user id and password for each students and staffs, so that they can access their some of their details from website.

here what I'm struggling to solve.

Using lightsail terminal I install mysql by referring this content and installed mySql workbench in my lap. I'm not sure this is a correct or not. But I wanted to connect mysql database to my aws lightsail.

If this is not possible I wonder is there are any alternative solutions as how to integrate database remotely for free. I'm new web-dev and aws, I'm willing to learn, so It would be very helpful if you can help me figure out the solution.

and I wonder without/with creating another instance on AWS is there any possibilities to create and integrate mysql database to website.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...